Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteRequest ¶
func ExecuteRequest(r *http.Request) *httptest.ResponseRecorder
ExecuteRequest is a test helper to fake a request. Use it as follows:
r := httptest.NewRequest("GET", "/api/v1/internal/my/songs", nil) resp := ExecuteRequest(r)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.