Documentation ¶
Overview ¶
produce struct tag code for object
Example:
type MyStruct struct { Name string MaxHeight int }
var s MyStruct
fmt.Prinln( tool.ProduceStructTag(s, "json"))
type MyStruct struct { Name string `json:"name"` MaxHeight int `json:"max_height"` }
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProduceStructTag ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.