Versions in this module Expand all Collapse all v1 v1.0.1 Sep 6, 2022 v1.0.0 Aug 17, 2022 Changes in this version + func BinToDec(bin string) int64 + func BinToHex(bin string) string + func BytesEncodeHex(bytes []byte) string + func BytesEncodeHexs(bytes []byte) []byte + func BytesToFloat64(bytes []byte) float64 + func BytesToInt64(bytes []byte) int64 + func BytesToRunes(bytes []byte) []rune + func BytesToUint64(bytes []byte) uint64 + func DecToBin(dec int64) string + func DecToHex(dec int64) string + func Float64ToBytes(f float64) []byte + func HexDecodeBytes(h string) []byte + func HexToBin(hex string) string + func HexToDec(hex string) int64 + func HexsDecodeBytes(hs []byte) []byte + func Int64ToBytes(i int64) []byte + func RunesToBytes(runes []rune) []byte + func StructToInterfaceMap(s interface{}, ignoreZeroValue ...bool) map[string]interface + func StructToStringMap(s interface{}, ignoreZeroValue ...bool) map[string]string + func ToBase(src string, fromBase, toBase int) string + func ToBool(src interface{}) bool + func ToFloat(src interface{}) float64 + func ToFloat32(src interface{}) float32 + func ToFloat64(src interface{}) float64 + func ToInt(src interface{}) int + func ToInt32(src interface{}) int32 + func ToInt64(src interface{}) int64 + func ToString(src interface{}) string + func ToUint(src interface{}) uint + func ToUint32(src interface{}) uint32 + func ToUint64(src interface{}) uint64 + func Uint64ToBytes(i uint64) []byte