Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mustNewRequest (0.2 sec)

  1. cmd/auth-handler_test.go

    func mustNewRequest(method string, urlStr string, contentLength int64, body io.ReadSeeker, t *testing.T) *http.Request {
    	req, err := newTestRequest(method, urlStr, contentLength, body)
    	if err != nil {
    		t.Fatalf("Unable to initialize new http request %s", err)
    	}
    	return req
    }
    
    // This is similar to mustNewRequest but additionally the request
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
Back to top