Documentation ¶
Index ¶
- Variables
- func Any2Str(value interface{}) string
- func CheckCrc(cmd []byte, data []byte, pos int, dlen int) bool
- func CheckType(i interface{}) string
- func ContainsType(s interface{}, name string) bool
- func ContainsTypeOfSub(s interface{}, name string) bool
- func DesDec(c []byte, key []byte) ([]byte, error)
- func DesEnc(c []byte, key []byte) ([]byte, error)
- func FindNameOfIface(iface any) string
- func FmtPrintLn(a ...any)
- func FormatDatetime(t time.Time) string
- func FormatNow() string
- func GetTime() int64
- func IfBaseEntity(Some any) bool
- func IfIface[T any](inst any) bool
- func IfProxy(some any) bool
- func LoadIniCfg(fileName string) (*ini.File, error)
- func Map2Str(mapkey map[string]interface{}) strings.Builder
- func MapKey2Str(mapkey map[string]interface{}) strings.Builder
- func ModbusCrcCheckSum(data []byte) []byte
- func NameOfType(v any) string
- func NewIchubLog(filename string) (logger *log.Logger)
- func NewIchubLogger(pathfile string) *log.Logger
- func NewOfPtrType[T baseiface.IpoolObj]() T
- func NewOfType[T baseiface.IpoolObj]() T
- func Nipv4() string
- func Round(f float64, n int) float64
- func SetFieldValue(val reflect.Value, value interface{})
- func SnowflakeNextVal() int64
- func ToInt32(value interface{}) (d int32)
- func ToInt64(value interface{}) (d int64)
- func ToStr(value interface{}, args ...int) (s string)
- func UniqueId() string
- func Uuid() string
- type StrTo
- func (f StrTo) Bool() (bool, error)
- func (f *StrTo) Clear()
- func (f StrTo) Exist() bool
- func (f StrTo) Float32() (float32, error)
- func (f StrTo) Float64() (float64, error)
- func (f StrTo) Int() (int, error)
- func (f StrTo) Int16() (int16, error)
- func (f StrTo) Int32() (int32, error)
- func (f StrTo) Int64() (int64, error)
- func (f StrTo) Int8() (int8, error)
- func (f *StrTo) Set(v string)
- func (f StrTo) String() string
- func (f StrTo) Uint() (uint, error)
- func (f StrTo) Uint16() (uint16, error)
- func (f StrTo) Uint32() (uint32, error)
- func (f StrTo) Uint64() (uint64, error)
- func (f StrTo) Uint8() (uint8, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var MbTable = []uint16{}/* 256 elements not displayed */
Functions ¶
func ContainsType ¶ added in v1.3.5
func ContainsTypeOfSub ¶ added in v1.3.7
func DesDec ¶ added in v1.3.13
.. var tt, rrr = gdes.DecryptECB(r, []byte("12345678"), gdes.PKCS5PADDING)
func FindNameOfIface ¶ added in v1.4.100
func FmtPrintLn ¶
func FmtPrintLn(a ...any)
func FormatDatetime ¶
func IfBaseEntity ¶ added in v1.3.7
func LoadIniCfg ¶
func MapKey2Str ¶
func ModbusCrcCheckSum ¶
func NameOfType ¶
func NewIchubLog ¶
func NewIchubLogger ¶
func SetFieldValue ¶
func SnowflakeNextVal ¶
func SnowflakeNextVal() int64
Types ¶
Click to show internal directories.
Click to hide internal directories.