Versions in this module Expand all Collapse all v0 v0.1.0 Apr 15, 2023 Changes in this version + var ErrInvalidEmailAddress = errors.New("invalid email address") + var ErrInvalidIcanSuffix = errors.New("invalid ICAN suffix") + func AmountToFloat64(amount uint64, decimals uint8) float64 + func AmountToString(amount uint64, decimals uint8) string + func AmountToUint64(amount float64, decimals uint8) uint64 + func AnyToString(v interface{}) string + func Base58ToBytes(s string) ([]byte, error) + func Base64ToBytes(s string) ([]byte, error) + func BytesToBase58(b []byte) string + func BytesToBase64(b []byte) string + func DownloadFile(url string) ([]byte, error) + func Float64ToString(amount float64) string + func GetFileByPath(path string) ([]byte, error) + func GetFileTypeByURI(uri string) string + func GetVarType(v interface{}) string + func IntAmountToFloat64(amount int64, decimals uint8) float64 + func ParseFileSize(s string) (int64, error) + func Pointer(v T) *T + func PrettyPrint(v ...interface{}) + func PrettyString(v interface{}) string + func SanitizeEmail(s string) (string, error) + func StructToUrlValues(v interface{}) (url.Values, error) + func TrimRightZeros(str string) string + func TrimStringBetween(str, start, end string) string + func UcFirst(s string) string