Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnmarshalBody ¶
func UnmarshalBody[Body any](t *testing.T, r *httptest.ResponseRecorder, body *Body)
Post is a helper function to make a POST request to the API. It will hanndle serializing the request and response objects to and from JSON.
Types ¶
Click to show internal directories.
Click to hide internal directories.