go-zero
go-zero copied to clipboard
About response format specification
There is a question, why gozero does not have a preset response format specification, and you have to redefine it every time you use it.
Hope go-zero can define an official success response format specification, and error response format specification,
while retaining a user-customizable interface.
The error-handle page on go-zero's document could help you to solve your problem.
The error-handle page on go-zero's document could help you to solve your problem.
thank you! I know this. It's just that every time I use go zero, I have to redefine these. It's troublesome. It's necessary for the official go zero to provide a correct response format specification, not just an error handle. Kevin asked me to mention an issue here.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.