Documentation
¶
Index ¶
- func Create(moduleName, targetDir string) error
- func MakeAction(name, projectDir string) (string, error)
- func MakeController(name, projectDir, moduleName string) (string, error)
- func MakeGraphQLPolicy(name, projectDir string) (string, error)
- func MakeJob(name, projectDir, moduleName string) (string, error)
- func MakeMiddleware(name, projectDir, moduleName string) (string, error)
- func MakeMigration(name, projectDir string) (string, error)
- func MakePolicy(name, projectDir string) (string, error)
- func MakeRequest(name, projectDir, moduleName string) (string, error)
- func MakeScope(name, projectDir string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeAction ¶
MakeAction scaffolds a new action + gate file. The name format is "model/action", e.g. "Post/publish".
func MakeController ¶
MakeController scaffolds a new controller file.
func MakeGraphQLPolicy ¶
MakeGraphQLPolicy scaffolds a new GraphQL policy file in database/policies/graphql/.
func MakeMiddleware ¶
MakeMiddleware scaffolds a new middleware file.
func MakeMigration ¶
MakeMigration scaffolds a new migration file.
func MakePolicy ¶
MakePolicy scaffolds a new policy file in database/policies/.
func MakeRequest ¶
MakeRequest scaffolds a new request file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.