Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go-zero tools ,fix a func,api new can not choose style #1356

Merged
merged 2 commits into from
Dec 23, 2021
Merged

go-zero tools ,fix a func,api new can not choose style #1356

merged 2 commits into from
Dec 23, 2021

Conversation

richardJiang
Copy link
Contributor

add a option for api new

goctl api new utils.api -style go_zero

@@ -67,6 +67,10 @@ var commands = []cli.Command{
Name: "home",
Usage: "the goctl home path of the template",
},
cli.StringFlag{
Name: "style",
Usage: "the file naming format, see [https://github.com/tal-tech/go-zero/tree/master/tools/goctl/config/readme.md]",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use https://github.com/zeromicro/go-zero/blob/master/tools/goctl/config/readme.md

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@kevwan kevwan merged commit a67c118 into zeromicro:master Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants