Versions in this module Expand all Collapse all v1 v1.0.1 Oct 18, 2021 Changes in this version + type ByteArray struct + Buffer []byte + func (obj *ByteArray) AddBack(value byte, qty int) + func (obj *ByteArray) AddFront(value byte, qty int) + func (obj *ByteArray) Init(len int) *ByteArray + func (obj *ByteArray) PopBack(qty int) + func (obj *ByteArray) PopFront(qty int) + func (obj *ByteArray) PushBack(data []byte) + func (obj *ByteArray) PushBackSingle(data byte) + func (obj *ByteArray) PushFront(data []byte) + func (obj *ByteArray) PushFrontSingle(data byte) + func (obj *ByteArray) Reverse() + func (obj ByteArray) At(pos int) byte + func (obj ByteArray) IsEmpty(data byte) bool + func (obj ByteArray) LastIndex() int + func (obj ByteArray) Len() int + func (obj ByteArray) Part(init int, end int) ByteArray + func (obj ByteArray) ToHex() string + type DemoTokenInfo struct + CurrencyId string + Error string + IsOk bool + Prefix string + Uui string + type File struct + func (obj File) Check(path string) error + func (obj File) CreateDir(dirPath string) error + func (obj File) CreateDirIfNotExists(dirname string) error + func (obj File) CreateFile(fileName string, force bool) error + func (obj File) CreateFileIfNotExists(filename string) error + func (obj File) ExtensionFile(name string) string + func (obj File) FileInfo(path string) (os.FileInfo, error) + func (obj File) GetDirectories(path string) ([]os.FileInfo, error) + func (obj File) GetDirectoriesSorted(path string) ([]os.FileInfo, error) + func (obj File) GetFiles(path string) ([]os.FileInfo, error) + func (obj File) GetFilesSorted(path string) ([]os.FileInfo, error) + func (obj File) ReadFile(path string) []byte + func (obj File) ReadMarshal(path string, data interface{}) error + func (obj File) RemoveFile(filePath string) error + func (obj File) Rename(oldpath string, newpath string) error + func (obj File) WriteFile(path string, data []byte) error + func (obj File) WriteMarshal(path string, data interface{}) error + func (obj File) WriteString(path string, data string) error + func (obj File) WriteStringLn(path string, data string) error + type TokenInfo struct + CurrencyId string + Error string + IsOk bool + Prefix string + UserId string + type Util struct + func (obj Util) JsonScript(m *interface{}) *string + func (obj Util) Round(value float64, decimals int) float64 + func (obj Util) SetValue(dst interface{}, src interface{}) + func (obj Util) Tracev4() string + type UtilString struct + Value string + func (obj *UtilString) FromInt(value int64) string + func (obj *UtilString) HexFormat(buffer []byte, separator string) string + func (obj *UtilString) ToLower() string + func (obj *UtilString) ToUpper() string + func (obj UtilString) FormatBool(value bool) string + func (obj UtilString) FormatFloat(value float64, precision int) string + func (obj UtilString) FromUint(value uint64) string + func (obj UtilString) Split(value string, sep string) []string + func (obj UtilString) StartsWith(value string, prefix string) bool + func (obj UtilString) ToBool(ok *bool) bool + func (obj UtilString) ToFloat(ok *bool) float64 + func (obj UtilString) ToInt32(ok *bool) int32 + func (obj UtilString) ToInt64(ok *bool) int64 + func (obj UtilString) ToUint32(ok *bool) uint32 + func (obj UtilString) ToUint64(ok *bool) uint64 + type UtilToken struct + func (o UtilToken) Build(prefix string, currencyId string, userId string, separator string) string + func (o UtilToken) BuildDemo(prefix string, currencyId string, separator string) string + func (o UtilToken) Parse(token string, separator string) TokenInfo + func (o UtilToken) ParseDemo(token string, separator string) DemoTokenInfo + type UtilsMap struct + func (o UtilsMap) ErrorToStruct(in error, out interface{}) error + func (o UtilsMap) GetMapValue(in map[string]interface{}, key string) map[string]interface{} + func (o UtilsMap) GetStringValue(in map[string]interface{}, key string) string + func (o UtilsMap) InterfaceToStruct(in interface{}, out interface{}) error + func (o UtilsMap) MapToArray(in map[string]interface{}) []interface{}