gengo

package
v2.1.1112 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ToPascalCase = casee.ToPascalCase
View Source
var ToUpperCase = casee.ToUpperCase

Functions

func DefaultValue

func DefaultValue(typ *spec.TypeDef, value string) string

func GenerateGoClient added in v2.0.285

func GenerateGoClient(specification *spec.Spec, moduleName string, generatePath string) error

func GenerateModels

func GenerateModels(specification *spec.Spec, moduleName string, generatePath string) error

func GenerateService added in v2.0.279

func GenerateService(specification *spec.Spec, moduleName string, swaggerPath string, generatePath string, servicesPath string) error

func GoType

func GoType(typ *spec.TypeDef) string

func GoTypeSamePackage added in v2.0.586

func GoTypeSamePackage(typ *spec.TypeDef) string

func Imports added in v2.0.592

func Imports() *imports

func JoinDelimParams added in v2.0.297

func JoinDelimParams(params []string) string

func JoinParams added in v2.0.297

func JoinParams(params []string) string

func Module added in v2.0.598

func Module(rootModule string, path string) module

func NewGoWriter

func NewGoWriter() *gen.Writer

func PlainGoType

func PlainGoType(typ string, modelsPackage string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL