Versions in this module Expand all Collapse all v0 v0.1.0 Oct 27, 2025 Changes in this version + var ErrUnexpectedStatusCode = errors.New("unexpected status code") + func DecodeResponse[T any](ctx context.Context, apiName string, resp *http.Response, expectedStatus int) (*T, error)