Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // CmdNew represents the new command. CmdNew = &cobra.Command{ Use: "mp", Short: "数据模型层", Long: "创建数据库模型层: toolkit mp dir table_name", Run: Run, } )
Functions ¶
func GenerateModule ¶
func GenerateModule(moduleParam base.ModuleParam, fullModuleDir, tableName string)
func GenerateProto ¶
func GenerateProto(moduleParam base.ModuleParam, fullProtoDir, tableName string)
func ProtoTemplate ¶
func ProtoTemplate() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.