gogen

package
v1.0.21 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2020 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildTypes

func BuildTypes(types []spec.Type) (string, error)

func DoGenProject added in v1.0.13

func DoGenProject(apiFile, dir string, force bool) error

func GenTemplates added in v1.0.21

func GenTemplates(_ *cli.Context) error

func GoCommand

func GoCommand(c *cli.Context) error

Types

type Handler added in v1.0.21

type Handler struct {
	ImportPackages string
	HandlerName    string
	RequestType    string
	LogicType      string
	Call           string
	HasResp        bool
}

Jump to

Keyboard shortcuts

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