Versions in this module Expand all Collapse all v1 v1.0.1 Oct 26, 2020 Changes in this version + func Exist(key string, h map[string]interface{}) bool + func Exists(keys []string, h map[string]interface{}) bool + func GenRandomBytes(size int) (blk []byte, err error) + func GetCurrentPath() (string, error) + func LogInterface(i interface{}) string + func MD5(data []byte) string + func PanicWrapper(f func()) + func ParseJson(data []byte) map[string]interface + func ParseJsonV2(reader io.Reader) map[string]interface + func ParseJsonV3(data []byte, dest interface{}) error + func ParseJsonV4(reader io.Reader, dest interface{}) error + func ReplaceAll(str string, expr string, replaceStr string) string + func ToJson(object interface{}) string + func ToJsonByte(object interface{}) []byte + func ToSimpleJson(object interface{}) *simplejson.Json + func UnGzip(gzipData []byte) ([]byte, error) + func UnGzipV2(gzipData io.Reader) (io.Reader, error) + type ByLenSort []string + func (a ByLenSort) Len() int + func (a ByLenSort) Less(i, j int) bool + func (a ByLenSort) Swap(i, j int)