Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInterfaceToStringMap = errors.New("converting interface to map[string]string failed") ErrInterfaceToString = errors.New("converting interface to string failed") ErrInterfaceToBool = errors.New("converting interface to bool failed") ErrInterfaceToInt64 = errors.New("converting interface to int64 failed") ErrInterfaceToInt = errors.New("converting interface to int failed") )
Functions ¶
func InterfaceToBool ¶
InterfaceToBool converts a interface to a bool.
func InterfaceToInt ¶
InterfaceToInt converts a interface from a json un-marshaled struct to a int.
func InterfaceToInt64 ¶
InterfaceToInt64 converts a interface from a json un-marshaled struct to a int64.
func InterfaceToString ¶
InterfaceToString converts a interface to a string.
func InterfaceToStringMap ¶
InterfaceToStringMap converts a interface to map[string]string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.