Documentation ¶
Index ¶
- func Assert(name string, context interface{}, value interface{}, op string) bool
- func CompareValue(src, dst interface{}, op string) (bool, error)
- func Decode(input, output interface{}) error
- func DecodeJSON(input, output interface{}) error
- func DecodeString(str string) (interface{}, error)
- func DecodeTag(input, output interface{}, tag string) error
- func FieldExist(name string, val interface{}) bool
- func FindFieldByTag(obj interface{}, tag, key string) (string, error)
- func FindFieldTypeByTag(obj interface{}, tag, key string) (reflect.Type, error)
- func FromTimeHookFunc() mapstructure.DecodeHookFunc
- func Hash(v interface{}) []byte
- func Hash58(v interface{}) string
- func Hash64(v interface{}) string
- func HashHex(v interface{}) string
- func IsMap(obj interface{}) bool
- func IsMapStringInterface(obj interface{}) bool
- func IsNumber(val interface{}) bool
- func IsPointerOfSlice(obj interface{}) bool
- func IsPointerOfStruct(obj interface{}) bool
- func IsSlice(obj interface{}) bool
- func IsStruct(obj interface{}) bool
- func IsStructOrPointerOf(obj interface{}) bool
- func IsTime(val interface{}) bool
- func ListTag(obj interface{}, tag string) ([]string, error)
- func Lookup(name string, context ...interface{}) (interface{}, bool)
- func Match(name string, context interface{}, value interface{}) bool
- func Reverse(s interface{})
- func SetValue(obj interface{}, key string, value interface{}) error
- func ToTimeHookFunc(format string) mapstructure.DecodeHookFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareValue ¶
func DecodeJSON ¶
func DecodeJSON(input, output interface{}) error
func DecodeString ¶
func FieldExist ¶
func FindFieldByTag ¶
func FindFieldTypeByTag ¶
func FromTimeHookFunc ¶
func FromTimeHookFunc() mapstructure.DecodeHookFunc
func IsMapStringInterface ¶
func IsMapStringInterface(obj interface{}) bool
func IsPointerOfSlice ¶
func IsPointerOfSlice(obj interface{}) bool
func IsPointerOfStruct ¶
func IsPointerOfStruct(obj interface{}) bool
func IsStructOrPointerOf ¶
func IsStructOrPointerOf(obj interface{}) bool
func ToTimeHookFunc ¶
func ToTimeHookFunc(format string) mapstructure.DecodeHookFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.