Documentation ¶
Index ¶
- Variables
- func BuildTypes(types []spec.Type) (string, error)
- func Category() string
- func Clean() error
- func DoGenProject(apiFile, dir, style string) error
- func DoGenProjectx(apiFile, dir, style string) error
- func GenTemplates() error
- func GoCommand(_ *cobra.Command, _ []string) error
- func GoxCommand(_ *cobra.Command, _ []string) error
- func RevertTemplate(name string) error
- func Update() error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // VarStringDir describes the directory. VarStringDir string // VarStringAPI describes the API. VarStringAPI string // VarStringHome describes the go home. VarStringHome string // VarStringRemote describes the remote git repository. VarStringRemote string // VarStringBranch describes the branch. VarStringBranch string // VarStringStyle describes the style of output files. VarStringStyle string )
Functions ¶
func DoGenProject ¶
DoGenProject gen go project files with api file
func DoGenProjectx ¶
DoGenProjectx gen go project files with api file
func GoxCommand ¶
GoxCommand gen go project files from command line
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.