Versions in this module Expand all Collapse all v2 v2.0.0 Jul 9, 2021 Changes in this version + const TimeFormat + const TimeZoneFormat + var EPSILON float64 = 0.0000001 + func AddList(left []uint16, right []uint16) []uint16 + func CharsToString(ca []int8) string + func CombineList(left []uint16, right []uint16) []uint16 + func CounterDiff(a, b, max uint64) uint64 + func DiffList(left []uint16, right []uint16) []uint16 + func FirstCharToLower(str string) string + func FirstCharToUpper(str string) string + func FloatEquals(a, b float64) bool + func GetDateTime() (localtime string, utctime string, zone int) + func GetLocation() (country, city string, err error) + func GetUTCTimestamp() string + func Ip2uint32Littlendian(ip string) uint32 + func IsValidUrl(str string) bool + func MD5(text string) string + func MakePifFilePath(procName, runPath string) (string, error) + func MaxUInt(x, y uint64) uint64 + func MinUInt(x, y uint64) uint64 + func PrintStruct(data interface{}) + func ReadLines(filename string) ([]string, error) + func ScanPidLine(content []byte) int + func TryToFloat64(number interface{}) (float64, bool) + func TryToInt(key string) interface + func TryToNumber(key string) interface + func UInt32ToipLittlendian(nn uint32) string + func ValidateIPAddress(val string) bool + type DateTime struct + City string + Country string + Datetime string + UTCTime string + Zone int + type ErrNotImplemented struct + OS string + func (e ErrNotImplemented) Error() string + type InterfaceSet struct + func NewInterfaceSet() InterfaceSet + func (s *InterfaceSet) Copy() *InterfaceSet + func (s *InterfaceSet) Delete(key interface{}) + func (s *InterfaceSet) Exist(key interface{}) bool + func (s *InterfaceSet) Insert(key interface{}) + func (s *InterfaceSet) Keys() map[interface{}]bool + func (s *InterfaceSet) Size() int + type MapStr = common.MapStr + type Set struct + func NewSet() Set + func (s *Set) Copy() *Set + func (s *Set) Delete(key string) + func (s *Set) Exist(key string) bool + func (s *Set) Insert(key string) + func (s *Set) Keys() map[string]bool + func (s *Set) Size() int