Documentation ¶
Index ¶
- Constants
- 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 CrashLog() 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
Constants ¶
View Source
const (
GOTIMEFORMAT = "2006-01-02 15:04:05"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.