We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Need goctl api go generate unit test code at the same time.
goctl api go
UT for:
By default, disable this option, use -withtest true to enable. For example:
-withtest true
goctl api go --style go_zero -api example.api -dir . -withtest true
generate files:
internal ├── config │ └── config.go ├── handler │ ├── login │ │ ├── register_handler.go │ │ └── register_handler_test.go │ └── routes.go ├── logic │ └── login │ ├── register_logic.go │ └── register_logic_test.go ├── svc │ └── service_context.go └── types └── types.go
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Need
goctl api go
generate unit test code at the same time.UT for:
By default, disable this option, use
-withtest true
to enable. For example:generate files:
The text was updated successfully, but these errors were encountered: