Documentation
¶
Index ¶
- func CopyBytes(b []byte) []byte
- func CopyString(s string) string
- func Default(t, f interface{}) interface{}
- func If(check bool, a, b interface{}) interface{}
- func IsZero(val interface{}) bool
- func Try(fn func(), catch ...func(err error))
- func UnsafeBytes(s string) (bs []byte)
- func UnsafeString(b []byte) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnsafeBytes ¶
#nosec G103 GetBytes returns a byte pointer without allocation
func UnsafeString ¶
#nosec G103 GetString returns a string pointer without allocation
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.