Documentation
¶
Index ¶
Constants ¶
View Source
const TmplDataJsonOptionKey = "gen_json"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TmplDataJsonOption ¶
func ParseJsonOption ¶
func ParseJsonOption(str string) (*TmplDataJsonOption, error)
通过字符串解析json选项, 字符串按照go的json标准库的tag规则. 例:
userName userName,omitempty
Click to show internal directories.
Click to hide internal directories.