go-zero
go-zero copied to clipboard
goctl doc doesn't support slices, how to handle it?
使用的命令为:goctl api doc -dir . -o readme error: Type []UserInfoResp generate error, unspport struct type: []UserInfoResp
- 以下为使用的 service
- service user-api { @handler UserList get /user/list returns ([]UserInfoResp) }
Pls wraps it by structure.
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.