Documentation ¶
Overview ¶
Package convertx Date: 2022/9/7 01:04 Author: Amu Description:
Package convertx Date: 2022/10/1 02:07 Author: Amu Description:
Index ¶
- func AsString(src interface{}) string
- func BytesToInt64(buf []byte) int64
- func Int64ToBytes(i int64) []byte
- func IntToInt64(value int) int64
- func StringToInt(value string) (i int)
- func StructToJson(content interface{}) interface{}
- func StructToMap(content interface{}) map[string]interface{}
- func ToInt64(value interface{}) (d int64, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StructToJson ¶
func StructToJson(content interface{}) interface{}
func StructToMap ¶
func StructToMap(content interface{}) map[string]interface{}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.