Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BundleAnnotate ¶
type BundleAnnotate struct {
Format string
}
type Field ¶
type Field struct { Tag int FieldName string // 字段名 StructFieldName string // 字段名 Type field_type // 字段类型 GoTypeName string Comment string }
字段结构
type Resource ¶
type Resource struct { ResourceName string StructName string TableName string CapStructName string WrapStructName string WrapTypeName string YamlFileName string ArrTypeName string // ErrorCodeArr FilePath string Type resource_type KeyArr []string // map类型 MapTypeName string // ErrorCodeMap GoMapTypeName string // map[int] *ErrorCode MapKeyArr []string ObjectKeyGoTypeNameArr []string // object类型 ObjectTypeName string GoObjectTypeName string // map[int] *ErrorCode MapKeyGoTypeNameArr []string ObjectKeyArr []string ObjectKeyIndex int FieldDict map[string]*Field // 字段信息 FieldArr []*Field // 字段信息 ValueArr [][]interface{} // 字段值 }
func (*Resource) IsDeriveMap ¶
func (*Resource) IsDeriveObject ¶
type ResourceAnnotate ¶
Click to show internal directories.
Click to hide internal directories.