|
|
func PerformRequest(r http.Handler, method, path string) *httptest.ResponseRecorder {
|
|
func PerformRequest(r http.Handler, method, path string) *httptest.ResponseRecorder {
|
|
|
req, _ := http.NewRequest(method, path, nil)
|
|
req, _ := http.NewRequest(method, path, nil)
|