Documentation ¶
Index ¶
- func AddHex(s string) string
- func BoolFromInterface(i interface{}) bool
- func BytesToHex(b []byte) string
- func CallerName() string
- func GetFuncName() string
- func GetStringValueByFieldName(n interface{}, fieldName string) (string, bool)
- func HexToBytes(s string) []byte
- func IntInSlice(a int, list []int) bool
- func IntToHex(i interface{}) string
- func InterfaceToString(i interface{}) string
- func PrintJson(j interface{})
- func StringInSlice(a string, list []string) bool
- func TrimHex(s string) string
- func UnmarshalToAnything(r interface{}, raw interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToHex ¶
func GetFuncName ¶
func GetFuncName() string
func HexToBytes ¶
func IntInSlice ¶ added in v0.5.0
func InterfaceToString ¶
func InterfaceToString(i interface{}) string
func StringInSlice ¶ added in v0.6.0
func UnmarshalToAnything ¶
func UnmarshalToAnything(r interface{}, raw interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.