Documentation
¶
Index ¶
- func BoilerplateCmd(cmd *cobra.Command, args []string)
- func ControllerCmd(cmd *cobra.Command, args []string)
- func GenerateCmd(cmd *cobra.Command, args []string)
- func ModelCmd(cmd *cobra.Command, args []string)
- func ReplaceNamespace(path string, oldString string, newString string) error
- func RouterCmd(cmd *cobra.Command, args []string)
- func StoreCmd(cmd *cobra.Command, args []string)
- type Field
- type Model
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoilerplateCmd ¶
BoilerplateCmd holds functions to generate router
func ControllerCmd ¶
ControllerCmd holds functions to generate controller
func GenerateCmd ¶
GenerateCmd holds functions to generate controllers, router, store
func ReplaceNamespace ¶
ReplaceNamespace simply replace oldString by newString in file provided by path
Types ¶
Click to show internal directories.
Click to hide internal directories.