-
Notifications
You must be signed in to change notification settings - Fork 4
/
help.go
27 lines (24 loc) · 832 Bytes
/
help.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package export
var Helpers = func() map[string][]string {
ret := map[string][]string{}
add := func(k string, v string) {
ret[k] = []string{v}
}
add("enum.values", "Possible values for this enumeration")
add("model.name", "The name, usually corresponding to the name of your database table")
add("model.package", "package")
add("model.group", "The model's group, as a path, like [foo/bar]")
add("model.description", "description")
add("model.icon", "icon")
add("model.ordering", "ordering")
add("model.view", "view")
add("model.search", "search")
add("model.tags", "tags")
add("model.titleOverride", "titleOverride")
add("model.properOverride", "properOverride")
add("model.config", "config")
add("model.columns", "columns")
add("model.relations", "relations")
add("model.indexes", "indexes")
return ret
}()