Documentation
¶
Index ¶
- func Assign(dst interface{}, src interface{}) error
- func Diff(dst interface{}, src interface{}) (map[string]interface{}, []string, error)
- func Fields(dst interface{}) ([]string, error)
- func FieldsDiff(dst, src, reference interface{}) ([]string, error)
- func GetName(src interface{}) string
- func GormColumnName(st reflect.StructField, namer GormNamer) string
- func GormMapToStruct(data map[string]interface{}, dst interface{}, namer GormNamer) (interface{}, map[string]interface{}, error)
- func MapToStruct(namingStrategy GormNamer, data map[string]interface{}, dst interface{}) (interface{}, error)
- type GormNamer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FieldsDiff ¶
func GormColumnName ¶
func GormColumnName(st reflect.StructField, namer GormNamer) string
func GormMapToStruct ¶
func MapToStruct ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.