Documentation
¶
Overview ¶
Package testutil provides small helpers for HTTP handler and end-to-end tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeJSON ¶
func DecodeJSON(t *testing.T, rr *httptest.ResponseRecorder, dst any)
DecodeJSON unmarshals the response body into dst.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.