Documentation ¶
Index ¶
- Variables
- type Generator
- func (g *Generator) Models(models []*spec.NamedModel, codecModule modules.Module, module 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)
- func (g *Generator) WriteParamsType2(w generator.Writer, typeName string, params []spec.NamedParam)
Constants ¶
This section is empty.
Variables ¶
View Source
var IoTs = "io-ts"
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct{}
func (*Generator) RuntimeTypeSamePackage ¶
func (*Generator) SetupLibrary ¶
func (*Generator) WriteParamsType ¶
func (*Generator) WriteParamsType2 ¶
Click to show internal directories.
Click to hide internal directories.