gogen

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: MIT Imports: 28 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)

BuildTypes gen types to string

func Category added in v1.1.1

func Category() string

Category returns the category of the api files.

func Clean added in v1.0.22

func Clean() error

Clean cleans the generated deployment files.

func DoGenProject added in v1.0.13

func DoGenProject(apiFile, dir, style string) error

DoGenProject gen go project files with api file

func GenTemplates added in v1.0.21

func GenTemplates(_ *cli.Context) error

GenTemplates generates api template files.

func GoCommand

func GoCommand(c *cli.Context) error

GoCommand gen go project files from command line

func RevertTemplate added in v1.0.22

func RevertTemplate(name string) error

RevertTemplate reverts the given template file to the default value.

func Update added in v1.0.22

func Update() error

Update updates the template files to the templates built in current goctl.

Types

This section is empty.

Jump to

Keyboard shortcuts

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