1
0

Add logging for invalid model errors (#126)

Add logging for invalid model errors

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/126
This commit is contained in:
konrad
2020-01-26 19:40:23 +00:00
parent fc65052ba0
commit a464d1760c
167 changed files with 18301 additions and 7389 deletions

View File

@ -0,0 +1,23 @@
// Package bindata
// Helper with wrapper for backward compatibility with go-bindata
// used only AssetNames func, because only this func has no analog on esc
//
// the reason for changing go-bindata to esc - is:
// `go-bindata creator deleted their @github account and someone else created a new account with the same name.`
//
// https://github.com/jteeuwen/go-bindata/issues/5
// https://twitter.com/francesc/status/961249107020001280
//
// After research some of alternatives - `esc` - is looks like one of the best choice
// https://tech.townsourced.com/post/embedding-static-files-in-go/
package bindata
// AssetNames returns the names of the assets. (for compatible with go-bindata)
func AssetNames() []string {
names := make([]string, 0, len(_escData))
for name := range _escData {
names = append(names, name)
}
return names
}