Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Request ¶
func Request(co controllers.Controller, t *testing.T, method, reqURL string, body any, headers ...map[string]string) httptest.ResponseRecorder
Request is a helper method to simplify making a HTTP request for tests.
Types ¶
type APIResponse ¶
Click to show internal directories.
Click to hide internal directories.