Versions in this module Expand all Collapse all v0 v0.2.0 Jun 9, 2021 Changes in this version + func CrashLog() string v0.1.0 Jun 2, 2021 Changes in this version + const GOTIMEFORMAT + func Bytes2Str(b []byte) string + func BytesToFloat32(bytes []byte) float32 + func BytesToFloat64(bytes []byte) float64 + func BytesToInt8s(i []byte) []int8 + func BytesToUint64(buf []byte) uint64 + func CamelString(s string) string + func DecodeBig5(s []byte) ([]byte, error) + func DecodeGBK(s []byte) ([]byte, error) + func DumpStacks(stackSize int) string + func EncodeBig5(s []byte) ([]byte, error) + func EncodeGBK(s []byte) ([]byte, error) + func Float32ToBytes(float float32) []byte + func Float64ToBytes(float float64) []byte + func GetHash64(input []byte) (uint64, error) + func GetYAML(f string, s interface{}) error + func Int8sToBytes(i []int8) []byte + func SetupSigusr1Trap() + func SliceSize(a interface{}) int + func SnakeString(s string) string + func Str2Bytes(s string) []byte + func StrToTime(t string) time.Time + func StringToUint64(a string) uint64 + func TimeToStr(t time.Time) string + func Uint64ToBytes(i uint64) []byte + func Uint64ToString(a uint64) string + type YAMLDate struct + Time time.Time + func (t *YAMLDate) Set(tm time.Time) + func (t *YAMLDate) UnmarshalYAML(unmarshal func(interface{}) error) error + func (t YAMLDate) MarshalYAML() (interface{}, error) + func (t YAMLDate) ToString() string