use goctl template to generate all kinds of templates
This commit is contained in:
@@ -102,13 +102,6 @@ var (
|
||||
},
|
||||
},
|
||||
Action: gogen.GoCommand,
|
||||
Subcommands: []cli.Command{
|
||||
{
|
||||
Name: "template",
|
||||
Usage: "initialize the api templates",
|
||||
Action: gogen.GenTemplates,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
Name: "java",
|
||||
@@ -339,6 +332,11 @@ var (
|
||||
Usage: "the features of the latest version",
|
||||
Action: feature.Feature,
|
||||
},
|
||||
{
|
||||
Name: "template",
|
||||
Usage: "initialize the api templates",
|
||||
Action: gogen.GenTemplates,
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user