NewRespBodyData new response body with data
(code int, reason string, data any)
| 64 | |
| 65 | // NewRespBodyData new response body with data |
| 66 | func NewRespBodyData(code int, reason string, data any) *RespBody { |
| 67 | return &RespBody{ |
| 68 | Code: code, |
| 69 | Reason: reason, |
| 70 | Data: data, |
| 71 | } |
| 72 | } |