- codegen includes rbac since it's used everywhere,
- update permissions structure naming for title/subtitle
This commit is contained in:
Tit Petric
2018-12-04 14:38:31 +01:00
parent 687cd0b2e0
commit f2dfffbab2
9 changed files with 180 additions and 169 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ func main() {
fmt.Fprintln(&w)
fmt.Fprintln(&w, "import \"github.com/crusttech/crust/internal/rbac\"")
fmt.Fprintln(&w)
fmt.Fprintln(&w, "/* File is generated from", *input, "& main.go */")
fmt.Fprintln(&w, "/* File is generated from", *input, "with permissions.go */")
fmt.Fprintln(&w)
fmt.Fprintln(&w, *fname, "{")
fmt.Fprintln(&w, "\treturn", s)