Documentation ¶
Index ¶
- func BuildTypes(types []spec.Type) (string, error)
- func Category() string
- func Clean() error
- func DoGenProject(apiParam, dir, style string) error
- func DoGenTypes(apiFile, dir, style string) error
- func GenTemplates(_ *cli.Context) error
- func GoCommand(c *cli.Context) error
- func RevertTemplate(name string) error
- func Update() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoGenProject ¶
DoGenProject gen go project files with api file
func DoGenTypes ¶
DoGenTypes generates golang types from the specified api
func GenTemplates ¶
GenTemplates generates api template files.
func RevertTemplate ¶
RevertTemplate reverts the given template file to the default value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.