Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ApiTpl string
View Source
var ContentConfig string
View Source
var EmbedTplMap = map[string]string{ "model": ModelTpl, "request": RequestTpl, "response": ResponseTpl, "repo": RepoTpl, "service": SrvTpl, "api": ApiTpl, "router": RouterTpl, "wire": WireTpl, "web/config/content.config.ts": ContentConfig, "web/config/modal.config.ts": ModalConfig, "web/config/search.config.ts": SearchConfig, }
View Source
var ModalConfig string
View Source
var ModelTpl string
View Source
var RepoTpl string
View Source
var RequestTpl string
View Source
var ResponseTpl string
View Source
var RouterTpl string
View Source
var SearchConfig string
View Source
var Sql2structCmd = &cobra.Command{ Use: "gen", Short: "a structure tool that structure sql to golang gorm struct", Long: "a golang gin gorm scaffold tool, generate file like ctrl, srv, request, model.", Run: func(cmd *cobra.Command, args []string) { run() }, }
View Source
var SqlTpl string
View Source
var SrvTpl string
View Source
var WireTpl string
Functions ¶
func RequestValid ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.