Documentation
¶
Index ¶
- func CopyContent(master interface{}, second interface{}) (m map[string]interface{})
- func GetStructFieldNames(p interface{}, fields ...string) []string
- func JsonToStr(i interface{}) string
- func RequestSpaceTrim(obj interface{}) (_err error)
- func RequestVerify(content interface{}, force ...string) (_err error)
- func RequestVerifyOr(content interface{}, force ...string) (_err error)
- func SetField(obj interface{}, name string, value interface{}) error
- func ShortContent(content interface{}, force ...string) (m map[string]interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyContent ¶
func CopyContent(master interface{}, second interface{}) (m map[string]interface{})
func GetStructFieldNames ¶
通过json tag获取字段名称
func RequestVerify ¶
func RequestVerifyOr ¶
func ShortContent ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.