Documentation ¶
Index ¶
- Variables
- type Generator
- func (g *Generator) RuntimeType(typ *spec.TypeDef) string
- func (g *Generator) RuntimeTypeFromPackage(customTypesPackage string, typ *spec.TypeDef) string
- func (g *Generator) SetupLibrary(module modules.Module) *sources.CodeFile
- func (g *Generator) VersionModels(version *spec.Version, codecModule modules.Module, module modules.Module) *sources.CodeFile
- func (g *Generator) WriteParamsType(w *sources.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) RuntimeTypeFromPackage ¶
func (*Generator) SetupLibrary ¶
func (*Generator) VersionModels ¶
func (*Generator) WriteParamsType ¶
Click to show internal directories.
Click to hide internal directories.