Documentation
¶
Index ¶
- func Bytes2String(bs []byte) string
- func Float64ToUint64(val float64) uint64
- func Int64ToUint64(val int64) uint64
- func MustToBool(v any) bool
- func MustToFloat(v any) float64
- func MustToInt(v any) int
- func MustToString(any interface{}) string
- func MustToUint(v any) uint
- func String2Bytes(s string) []byte
- func ToBool(v any) (bool, error)
- func ToFloat(v any) (float64, error)
- func ToInt(v any) (int, error)
- func ToString(v any) (string, error)
- func ToUint(v any) (uint, error)
- func Uint64ToFloat64(val uint64) float64
- func Uint64ToInt64(val uint64) int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bytes2String ¶
func Float64ToUint64 ¶
func Int64ToUint64 ¶
func MustToBool ¶ added in v0.11.2
func MustToFloat ¶ added in v0.11.2
func MustToString ¶ added in v0.11.2
func MustToString(any interface{}) string
func MustToUint ¶ added in v0.11.2
func String2Bytes ¶
func Uint64ToFloat64 ¶
func Uint64ToInt64 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.