where names a position in the body for error messages.
(walked string)
| 425 | |
| 426 | // where names a position in the body for error messages. |
| 427 | func where(walked string) string { |
| 428 | if walked == "" { |
| 429 | return "body" |
| 430 | } |
| 431 | return walked |
| 432 | } |
| 433 | |
| 434 | func decodeJSON(data []byte, v any) error { |
| 435 | dec := json.NewDecoder(bytes.NewReader(data)) |
no outgoing calls
no test coverage detected