Documentation ¶
Index ¶
- type ByteArray
- func (obj *ByteArray) AddBack(value byte, qty int)
- func (obj *ByteArray) AddFront(value byte, qty int)
- func (obj ByteArray) At(pos int) byte
- func (obj *ByteArray) Init(len int) *ByteArray
- 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) 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) ToHex() string
- type DemoTokenInfo
- type File
- 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
- type Util
- type UtilString
- func (obj UtilString) FormatBool(value bool) string
- func (obj UtilString) FormatFloat(value float64, precision int) string
- func (obj *UtilString) FromInt(value int64) string
- func (obj UtilString) FromUint(value uint64) string
- func (obj *UtilString) HexFormat(buffer []byte, separator string) 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) ToLower() string
- func (obj UtilString) ToUint32(ok *bool) uint32
- func (obj UtilString) ToUint64(ok *bool) uint64
- func (obj *UtilString) ToUpper() string
- type UtilToken
- 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
- 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{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByteArray ¶
type ByteArray struct {
Buffer []byte
}
func (*ByteArray) PushBackSingle ¶
func (*ByteArray) PushFrontSingle ¶
type DemoTokenInfo ¶
type File ¶
type File struct { }
func (File) CreateDirIfNotExists ¶
func (File) CreateFileIfNotExists ¶
func (File) ExtensionFile ¶
func (File) GetDirectoriesSorted ¶
func (File) ReadMarshal ¶
func (File) RemoveFile ¶
func (File) WriteMarshal ¶
type UtilString ¶
type UtilString struct {
Value string
}
func (UtilString) FormatBool ¶
func (obj UtilString) FormatBool(value bool) string
func (UtilString) FormatFloat ¶
func (obj UtilString) FormatFloat(value float64, precision int) string
func (*UtilString) FromInt ¶
func (obj *UtilString) FromInt(value int64) string
func (UtilString) FromUint ¶
func (obj UtilString) FromUint(value uint64) string
func (*UtilString) HexFormat ¶
func (obj *UtilString) HexFormat(buffer []byte, separator string) string
func (UtilString) StartsWith ¶
func (obj UtilString) StartsWith(value string, prefix string) bool
func (UtilString) ToBool ¶
func (obj UtilString) ToBool(ok *bool) bool
func (UtilString) ToFloat ¶
func (obj UtilString) ToFloat(ok *bool) float64
func (UtilString) ToInt32 ¶
func (obj UtilString) ToInt32(ok *bool) int32
func (UtilString) ToInt64 ¶
func (obj UtilString) ToInt64(ok *bool) int64
func (*UtilString) ToLower ¶
func (obj *UtilString) ToLower() string
func (UtilString) ToUint32 ¶
func (obj UtilString) ToUint32(ok *bool) uint32
func (UtilString) ToUint64 ¶
func (obj UtilString) ToUint64(ok *bool) uint64
func (*UtilString) ToUpper ¶
func (obj *UtilString) ToUpper() string
type UtilsMap ¶
type UtilsMap struct { }
func (UtilsMap) ErrorToStruct ¶
func (UtilsMap) GetMapValue ¶
func (UtilsMap) GetStringValue ¶
func (UtilsMap) InterfaceToStruct ¶
func (UtilsMap) MapToArray ¶
Click to show internal directories.
Click to hide internal directories.