Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BigCamelToSmallCamel ¶
BigCamelToSmallCamel 大驼峰格式的字符串转小驼峰格式的字符串 UserAgent → userAgent
func CamelToSnake ¶
func LowerFirst ¶
Types ¶
type Generator ¶
type Generator struct { StructInfo *StructInfo Found bool // contains filtered or unexported fields }
func NewGenerator ¶
func NewGenerator() *Generator
func (*Generator) GenerateCodeByTemplate ¶
func (g *Generator) GenerateCodeByTemplate()
func (*Generator) GeneratingOptions ¶
func (g *Generator) GeneratingOptions()
func (*Generator) OutputToFile ¶
func (g *Generator) OutputToFile()
func (*Generator) SetOutPath ¶
Click to show internal directories.
Click to hide internal directories.