Documentation ¶
Index ¶
Constants ¶
View Source
const ( Repository = "Repository" Service = "Service" Dao = "Dao" All = "all" RepositoryTpl = "repository.tpl" ServiceTpl = "service.tpl" DaoTpl = "dao.tpl" )
Variables ¶
View Source
var ( Cmd = &cobra.Command{ Use: "gg", Short: "golang generate init file", Long: `generate init file for go project;examples:service 、 dao 、repository`, TraverseChildren: true, RunE: func(cmd *cobra.Command, args []string) error { run() return nil }, } )
View Source
var (
HomeDir string
)
gg Golang generate Example:service dao repository
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.