APIResponse is the response structure for the API.
| 2 | |
| 3 | // APIResponse is the response structure for the API. |
| 4 | type APIResponse struct { |
| 5 | Data any `json:"data,omitempty"` |
| 6 | Error *APIError `json:"error,omitempty"` |
| 7 | } |
| 8 | |
| 9 | // APIError is the error structure for the API. |
| 10 | type APIError struct { |
nothing calls this directly
no outgoing calls
no test coverage detected