JSON 解析 JSON 响应
(v any)
| 108 | |
| 109 | // JSON 解析 JSON 响应 |
| 110 | func (rr *RemoteResponse) JSON(v any) error { |
| 111 | return json.Unmarshal(rr.Body, v) |
| 112 | } |
| 113 | |
| 114 | // String 返回字符串响应 |
| 115 | func (rr *RemoteResponse) String() string { |
no outgoing calls
no test coverage detected