Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BodyDesc ¶
type BodyDesc struct { Name string // 字段名称 Type string // 基础类型, 结构体类型, todo swagger format Example string Desc string Required bool Array bool Properties []*BodyDesc }
BodyDesc 结构体描述信息
type DataIndex ¶
type DataIndex struct { IndexName string Unique bool Fields []*DataIndexField IndexComment string }
type DataIndexField ¶
type DataStruct ¶
DataStruct template/data 数据模型
type DtoFieldDesc ¶
type DtoStructDesc ¶
type DtoStructDesc struct { Name string // 字段名称 Example string Desc string DtoFieldDesc []*DtoFieldDesc }
DtoStructDesc 字段结构体描述信息
type HelloTemplate ¶
type HelloTemplate struct {
Hello string `json:"hello" form:"hello"`
}
type HttpProject ¶
type ModelField ¶
type ModelField struct { ColumnName string // db 字段名称 FieldType string // 结构体数据类型 Comment string // 字段评论 }
ModelField 实体对象类型
type ModelStruct ¶
type ModelStruct struct { TableName string // tblModelTable BeanName string // ModelTable Columns []*ModelField // 字段列表 Comment string // 数据表注释 }
ModelStruct template/model 模型
Click to show internal directories.
Click to hide internal directories.