Documentation ¶
Index ¶
- type JSONSchemaGen
- func (g *JSONSchemaGen) GenType(c *gengo.Context, t *Type) error
- func (g *JSONSchemaGen) GenerateType(c *gengo.Context, named *types.Named) error
- func (g *JSONSchemaGen) Init(c *gengo.Context, s gengo.GeneratorCreator) (gengo.Generator, error)
- func (g *JSONSchemaGen) Name() string
- func (JSONSchemaGen) New() gengo.Generator
- func (g *JSONSchemaGen) ValueLitAndGenSideTypes(c *gengo.Context, d *gengo.Dumper, s interface{}) (string, error)
- type Scanner
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONSchemaGen ¶
type JSONSchemaGen struct { gengo.SnippetWriter Scanner // contains filtered or unexported fields }
func (*JSONSchemaGen) GenerateType ¶
func (*JSONSchemaGen) Init ¶
func (g *JSONSchemaGen) Init(c *gengo.Context, s gengo.GeneratorCreator) (gengo.Generator, error)
func (*JSONSchemaGen) Name ¶
func (g *JSONSchemaGen) Name() string
func (JSONSchemaGen) New ¶
func (JSONSchemaGen) New() gengo.Generator
func (*JSONSchemaGen) ValueLitAndGenSideTypes ¶
type Type ¶
func (*Type) RealPkgPath ¶
Click to show internal directories.
Click to hide internal directories.