Documentation
¶
Index ¶
- func Bytes2String(b []byte) string
- func If[T any](condition bool, trueVal, falseVal T) T
- func Recover(msg string, goAfterRecover func(err error))
- func SplitBy(content, spliter, escape string) (ret []string)
- func SplitHead(content, spliter, escape string) (ret [2]string)
- func String2Bytes(s string) []byte
- func Try(invoke func())
- func TryCatch(invoke func(), fallback func(err error))
- type NoCopy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bytes2String ¶ added in v0.0.4
func String2Bytes ¶ added in v0.0.4
Types ¶
Click to show internal directories.
Click to hide internal directories.