Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasChinese ¶
func StructToMap ¶
func StructToMap(obj interface{}) map[string]interface{}
StructToMap 利用反射将结构体转化为map
Types ¶
type StringArray ¶
type StringArray string
func (StringArray) MarshalJSON ¶
func (r StringArray) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.