Documentation ¶
Index ¶
- func Int64ToString(i int64) string
- func IntToString(i int) string
- func StringToInt(s string) (int, error)
- func StringToInt64(s string) (int64, error)
- func StringsDictToDict(in url.Values) (out dict.Dict)
- func StringsDictToStringDict(in url.Values) (out dict.StringDict)
- func StructToDict(in interface{}) (out dict.Dict)
- func StructToStringDict(in interface{}) (out dict.StringDict, err error)
- func StructToStringsDict(in interface{}) (out url.Values, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Int64ToString ¶
func IntToString ¶
func StringToInt ¶
func StringToInt64 ¶
func StringsDictToDict ¶ added in v0.1.14
map[string][]string -> map[string]interface{}
func StringsDictToStringDict ¶ added in v0.1.14
func StringsDictToStringDict(in url.Values) (out dict.StringDict)
注意: 这个方法不安全, 要确定 值, 只有一个才可以使用, 否则丢数据
func StructToDict ¶ added in v0.1.14
go struct to map[string]interface{}
func StructToStringDict ¶ added in v0.1.14
func StructToStringDict(in interface{}) (out dict.StringDict, err error)
go struct to map[string]string
func StructToStringsDict ¶ added in v0.1.14
go struct to map[string][]string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.