Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConvertGoStruct2JsonReq ¶ added in v1.1.8
type ConvertGoStruct2JsonReq struct {
GoStruct string `json:"go_struct"`
}
ConvertGoStruct2JsonReq 将 golang 结构体转换为 json 请求
type ConvertGoStruct2PbMessageReq ¶
type ConvertGoStruct2PbMessageReq struct {
GoStruct string `json:"go_struct"`
}
ConvertGoStruct2PbMessageReq 将 golang 结构体转换为 Protocol Buffers 请求
type FieldData ¶
type FieldData struct { UpperCamelName string // 大驼峰名称 LowerCamelName string // 小驼峰名称 UnderlineName string // 下划线名称 Type string // 对应go的类型 Comment string // 字段注释 ORMTag string // orm框架的标签 ValTag string // 验证框架的标签 }
FieldData 字段的数据模型
type GenReq ¶
type GenReq struct { GenTplNameList []string `json:"gen_tpl_name_list"` GenTableNameList []string `json:"gen_table_name_list"` }
GenReq 生成时请求,记录选中模板和表格
Click to show internal directories.
Click to hide internal directories.