package
0.0.0-20240707130328-7cf8dae7750a
Repository: https://github.com/nite-coder/blackbear.git
Documentation: pkg.go.dev
# Functions
b2s converts byte slice to a string without memory allocation.
s2b converts string to a byte slice without memory allocation.
ToBool casts an interface to a bool type.
ToDuration casts an interface to a time.Duration type.
ToFloat32 casts an interface to a float32 type.
ToFloat64 casts an interface to a float64 type.
ToFloat64Slice casts an interface to a []float64 type.
ToInt casts an interface to an int type.
ToInt16 casts an interface to an int16 type.
ToInt32 casts an interface to an int32 type.
ToInt64 casts an interface to an int64 type.
ToInt8E casts an interface to an int8 type.
ToIntSlice casts an interface to a []int type.
ToString casts an interface to a string type.
ToStringMap casts an interface to a map[string]interface{} type.
ToStringMapString casts an interface to a map[string]string type.
ToStringSlice casts an interface to a []string type.
ToUint casts an interface to a uint type.
ToUint16 casts an interface to a uint16 type.
ToUint32E casts an interface to a uint32 type.
ToUint64E casts an interface to a uint64 type.
ToUint8E casts an interface to a uint type.
# Variables
No description provided by the author