Documentation ¶
Index ¶
- func GetInterfaceToString(value interface{}) string
- func OneToManyCombinationConvert(one, many []interface{}, combColumnName string) []interface{}
- func SliceConvert(slice interface{}, newSlice interface{}) (interface{}, error)
- func StructSliceToTagString(instance interface{}, tag string) string
- func StructToTagMap(instance interface{}, tag string) (map[string]interface{}, error)
- func StructToTagString(instance interface{}, tag string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInterfaceToString ¶
func GetInterfaceToString(value interface{}) string
func OneToManyCombinationConvert ¶
func OneToManyCombinationConvert(one, many []interface{}, combColumnName string) []interface{}
OneToManyCombinationConvert 一对多合并
func SliceConvert ¶
func SliceConvert(slice interface{}, newSlice interface{}) (interface{}, error)
SliceConvert 数组类型转换
此处用了大量反射,高并发情况下将导致性能瓶颈
func StructSliceToTagString ¶
func StructToTagString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.