update:
- codegen includes rbac since it's used everywhere, - update permissions structure naming for title/subtitle
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user