Documentation ¶
Index ¶
- Variables
- func DefaultValue(typ *spec.TypeDef, value string) string
- func GenerateGoClient(specification *spec.Spec, moduleName string, generatePath string) error
- func GenerateModels(specification *spec.Spec, moduleName string, generatePath string) error
- func GenerateService(specification *spec.Spec, moduleName string, swaggerPath string, ...) error
- 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() *gen.Writer
- func PlainGoType(typ string, modelsPackage string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var ToPascalCase = casee.ToPascalCase
View Source
var ToUpperCase = casee.ToUpperCase
Functions ¶
func GenerateGoClient ¶ added in v2.0.285
func GenerateModels ¶
func GenerateService ¶ added in v2.0.279
func GoTypeSamePackage ¶ added in v2.0.586
func JoinDelimParams ¶ added in v2.0.297
func JoinParams ¶ added in v2.0.297
func NewGoWriter ¶
func PlainGoType ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.