Documentation ¶
Index ¶
- func AnyToString(v any) (string, error)
- func Bytes2String(bs []byte) string
- func ConvertOrMerge(dst interface{}, src interface{}) error
- func Float64ToUint64(val float64) uint64
- func Int64ToUint64(val int64) uint64
- func MapTo(dst interface{}, m map[string]interface{}) error
- func String2Bytes(s string) []byte
- func String2BytesNoCap(s string) []byte
- func ToBool(v any) (bool, error)
- func ToFloat(v any) (float64, error)
- func ToInt(v any) (int, 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 AnyToString ¶
func Bytes2String ¶
func ConvertOrMerge ¶ added in v0.7.3
func ConvertOrMerge(dst interface{}, src interface{}) error
func Float64ToUint64 ¶
func Int64ToUint64 ¶
func String2Bytes ¶
func String2BytesNoCap ¶
func Uint64ToFloat64 ¶
func Uint64ToInt64 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.