Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ModelStruct ¶
type ModelStruct struct { TableName string CustomizeTableName string PrimaryKey string DeletedAtColumn string FieldAttrMap map[string]string SubTagMap map[string]map[string]string }
the struct attributes
func ParseStruct ¶
func ParseStruct(d interface{}) (ModelStruct, interface{})
func (ModelStruct) GetPrimaryKeyAttr ¶
func (m ModelStruct) GetPrimaryKeyAttr() string
func (ModelStruct) GetTableName ¶
func (m ModelStruct) GetTableName() string
Click to show internal directories.
Click to hide internal directories.