()
| 145 | } |
| 146 | |
| 147 | func (r *Response) setReceivedAt() { |
| 148 | r.receivedAt = time.Now() |
| 149 | if r.Request.trace != nil { |
| 150 | r.Request.trace.endTime = r.receivedAt |
| 151 | } |
| 152 | } |
| 153 | |
| 154 | // UnmarshalJson unmarshalls JSON response body into the specified object. |
| 155 | func (r *Response) UnmarshalJson(v any) error { |
no outgoing calls
no test coverage detected