Documentation ¶
Index ¶
- Variables
- type Generator
- func (g *Generator) Models(models []*spec.NamedModel, superstructModule modules.Module, ...) *generator.CodeFile
- func (g *Generator) RuntimeType(typ *spec.TypeDef) string
- func (g *Generator) RuntimeTypeSamePackage(typ *spec.TypeDef) string
- func (g *Generator) SetupLibrary(module modules.Module) *generator.CodeFile
- func (g *Generator) WriteParamsType(w *generator.Writer, typeName string, params []spec.NamedParam)
Constants ¶
This section is empty.
Variables ¶
View Source
var Superstruct = "superstruct"
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct{}
func (*Generator) RuntimeTypeSamePackage ¶
func (*Generator) SetupLibrary ¶
func (*Generator) WriteParamsType ¶
Click to show internal directories.
Click to hide internal directories.