Versions in this module Expand all Collapse all v1 v1.0.1 Mar 12, 2020 Changes in this version + func BoolToBytes(v bool) []byte + func ByteToBytes(v byte) []byte + func BytesToBool(buf []byte) bool + func BytesToFloat32(buf []byte) float32 + func BytesToFloat64(buf []byte) float64 + func BytesToInt(buf []byte) int + func BytesToInt16(buf []byte) int16 + func BytesToInt32(buf []byte) int32 + func BytesToInt64(buf []byte) int64 + func BytesToInt8(buf []byte) int8 + func BytesToString(buf []byte) string + func BytesToUInt16(buf []byte) uint16 + func BytesToUInt32(buf []byte) uint32 + func BytesToUInt64(buf []byte) uint64 + func BytesTobyte(buf []byte) byte + func Copy(src interface{}) interface + func Float32ToBytes(v float32) []byte + func Float64ToBytes(v float64) []byte + func GetApplicationDir() (ApplicationDir string) + func Int16ToBytes(v int16) []byte + func Int32ToBytes(v int32) []byte + func Int64ToBytes(v int64) []byte + func Int8ToBytes(v int8) []byte + func IntToBytes(v int) []byte + func MD5EncToLower(str string) string + func MD5EncToUpper(str string) string + func Sort(a []interface{}, compete func(a interface{}, b interface{}) int8) + func StringToBytes(v string) []byte + func UInt16ToBytes(v uint16) []byte + func UInt32ToBytes(v uint32) []byte + func UInt64ToBytes(v uint64) []byte