go-zero icon indicating copy to clipboard operation
go-zero copied to clipboard

Use goctl to execute a specific API file without overwriting routes.go and types.go, but append instead.

Open tumingke0 opened this issue 1 year ago • 2 comments

When I use the command:

goctl api go -api api/apilist/admin/template/templatedata.api -dir ./api -style go_zero

to generate handler and logic, why does it overwrite routes.go and types.go instead of appending? Shouldn’t it append instead? Otherwise, this operation becomes infeasible.

tumingke0 avatar Feb 08 '25 10:02 tumingke0

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Apr 14 '26 02:04 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Jul 17 '26 02:07 github-actions[bot]