Versions in this module Expand all Collapse all v2 v2.7.2 Aug 2, 2024 Changes in this version + var StructTagPriority = gtag.StructTagPriority + func Bool(any interface{}) bool + func Byte(any interface{}) byte + func Bytes(any interface{}) []byte + func Convert(fromValue interface{}, toTypeName string, extraParams ...interface{}) interface + func ConvertWithRefer(fromValue interface{}, referValue interface{}, extraParams ...interface{}) interface + func Duration(any interface{}) time.Duration + func Float32(any interface{}) float32 + func Float32s(any interface{}) []float32 + func Float64(any interface{}) float64 + func Float64s(any interface{}) []float64 + func Floats(any interface{}) []float64 + func GTime(any interface{}, format ...string) *gtime.Time + func Int(any interface{}) int + func Int16(any interface{}) int16 + func Int32(any interface{}) int32 + func Int32s(any interface{}) []int32 + func Int64(any interface{}) int64 + func Int64s(any interface{}) []int64 + func Int8(any interface{}) int8 + func Interfaces(any interface{}) []interface + func Ints(any interface{}) []int + func Map(value interface{}, option ...MapOption) map[string]interface + func MapDeep(value interface{}, tags ...string) map[string]interface + func MapStrStr(value interface{}, option ...MapOption) map[string]string + func MapStrStrDeep(value interface{}, tags ...string) map[string]string + func MapToMap(params interface{}, pointer interface{}, mapping ...map[string]string) error + func MapToMaps(params interface{}, pointer interface{}, mapping ...map[string]string) error + func Maps(value interface{}, option ...MapOption) []map[string]interface + func MapsDeep(value interface{}, tags ...string) []map[string]interface + func PtrAny(any interface{}) *interface + func PtrBool(any interface{}) *bool + func PtrFloat32(any interface{}) *float32 + func PtrFloat64(any interface{}) *float64 + func PtrInt(any interface{}) *int + func PtrInt16(any interface{}) *int16 + func PtrInt32(any interface{}) *int32 + func PtrInt64(any interface{}) *int64 + func PtrInt8(any interface{}) *int8 + func PtrString(any interface{}) *string + func PtrUint(any interface{}) *uint + func PtrUint16(any interface{}) *uint16 + func PtrUint32(any interface{}) *uint32 + func PtrUint64(any interface{}) *uint64 + func PtrUint8(any interface{}) *uint8 + func RegisterConverter(fn interface{}) (err error) + func Rune(any interface{}) rune + func Runes(any interface{}) []rune + func Scan(srcValue interface{}, dstPointer interface{}, ...) (err error) + func ScanList(structSlice interface{}, structSlicePointer interface{}, bindToAttrName string, ...) (err error) + func SliceAny(any interface{}) []interface + func SliceFloat(any interface{}) []float64 + func SliceFloat32(any interface{}) []float32 + func SliceFloat64(any interface{}) []float64 + func SliceInt(any interface{}) []int + func SliceInt32(any interface{}) []int32 + func SliceInt64(any interface{}) []int64 + func SliceMap(any interface{}, option ...MapOption) []map[string]interface + func SliceMapDeep(any interface{}) []map[string]interface + func SliceStr(any interface{}) []string + func SliceStruct(params interface{}, pointer interface{}, mapping ...map[string]string) (err error) + func SliceUint(any interface{}) []uint + func SliceUint32(any interface{}) []uint32 + func SliceUint64(any interface{}) []uint64 + func String(any interface{}) string + func Strings(any interface{}) []string + func Struct(params interface{}, pointer interface{}, ...) (err error) + func StructTag(params interface{}, pointer interface{}, priorityTag string) (err error) + func Structs(params interface{}, pointer interface{}, ...) (err error) + func StructsTag(params interface{}, pointer interface{}, priorityTag string) (err error) + func Time(any interface{}, format ...string) time.Time + func Uint(any interface{}) uint + func Uint16(any interface{}) uint16 + func Uint32(any interface{}) uint32 + func Uint32s(any interface{}) []uint32 + func Uint64(any interface{}) uint64 + func Uint64s(any interface{}) []uint64 + func Uint8(any interface{}) uint8 + func Uints(any interface{}) []uint + func UnsafeBytesToStr(b []byte) string + func UnsafeStrToBytes(s string) []byte + type MapOption struct + Deep bool + OmitEmpty bool + Tags []string