Documentation ¶
Index ¶
- func DirectObj(a any) any
- func IPV42Long(ip string) uint32
- func Long2IPV4(ipInt int64) string
- func Map2Slice[K comparable, V any](mp map[K]V) (ks []K, vs []V)
- func Obj2Stream(obj any) ([]byte, error)
- func StrToNum[...](str string) (ret T, err error)
- func Stream2Obj(stream []byte, obj any) error
- func Struct2Map(a any) (map[string]any, error)
- func ToAny[T any](i any) (T, error)
- func ToBool(i any) (bool, error)
- func ToNum[...](i any) (T, error)
- func ToStr(i any) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Map2Slice ¶
func Map2Slice[K comparable, V any](mp map[K]V) (ks []K, vs []V)
func Obj2Stream ¶ added in v1.8.6
func Stream2Obj ¶ added in v1.8.6
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.