Documentation ¶
Index ¶
- Variables
- func DefaultValue(typ *spec.TypeDef, value string) string
- func GenerateClient(specification *spec.Spec, moduleName string, generatePath string) *sources.Sources
- func GenerateModels(specification *spec.Spec, moduleName string, generatePath string) *sources.Sources
- func GenerateService(specification *spec.Spec, moduleName string, swaggerPath string, ...) *sources.Sources
- func GoType(typ *spec.TypeDef) string
- func GoTypeSamePackage(typ *spec.TypeDef) string
- func Imports() *imports
- func JoinDelimParams(params []string) string
- func JoinParams(params []string) string
- func Module(rootModule string, path string) module
- func NewGoWriter() *sources.Writer
- func PlainGoType(typ string, modelsPackage string) string
- func WriteAlignedLines(w *sources.Writer, lines [][]string)
Constants ¶
This section is empty.
Variables ¶
View Source
var ToPascalCase = casee.ToPascalCase
View Source
var ToUpperCase = casee.ToUpperCase
Functions ¶
func GenerateClient ¶
func GenerateModels ¶
func GenerateService ¶
func GoTypeSamePackage ¶
func JoinDelimParams ¶
func JoinParams ¶
func NewGoWriter ¶
func PlainGoType ¶
func WriteAlignedLines ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.