Versions in this module Expand all Collapse all v0 v0.7.12 Jul 12, 2022 v0.7.11 May 24, 2022 Changes in this version + type DefaultFieldNamer struct + func (DefaultFieldNamer) GetJSONFieldName(t reflect.Type, f reflect.StructField) string + type FieldNamer interface + GetJSONFieldName func(t reflect.Type, f reflect.StructField) string + type Generator struct + func NewGenerator(filename string) *Generator + func (g *Generator) Add(obj interface{}) + func (g *Generator) DisallowUnknownFields() + func (g *Generator) NoStdMarshalers() + func (g *Generator) OmitEmpty() + func (g *Generator) Run(out io.Writer) error + func (g *Generator) SetBuildTags(tags string) + func (g *Generator) SetFieldNamer(n FieldNamer) + func (g *Generator) SetPkg(name, path string) + func (g *Generator) SimpleBytes() + func (g *Generator) SkipMemberNameUnescaping() + func (g *Generator) UseLowerCamelCase() + func (g *Generator) UseSnakeCase() + type LowerCamelCaseFieldNamer struct + func (LowerCamelCaseFieldNamer) GetJSONFieldName(t reflect.Type, f reflect.StructField) string + type SnakeCaseFieldNamer struct + func (SnakeCaseFieldNamer) GetJSONFieldName(t reflect.Type, f reflect.StructField) string