forked from goffee/core
Public request in context
This commit is contained in:
parent
3d4b3651f2
commit
1cc668a0e1
5 changed files with 26 additions and 24 deletions
|
|
@ -25,7 +25,7 @@ func TestDebugAny(t *testing.T) {
|
|||
w := httptest.NewRecorder()
|
||||
c := &Context{
|
||||
Request: &Request{
|
||||
httpRequest: r,
|
||||
HttpRequest: r,
|
||||
httpPathParams: nil,
|
||||
},
|
||||
Response: &Response{
|
||||
|
|
@ -538,7 +538,7 @@ func makeCTXLogTestCTX(t *testing.T, w http.ResponseWriter, r *http.Request, tmp
|
|||
t.Helper()
|
||||
return &Context{
|
||||
Request: &Request{
|
||||
httpRequest: r,
|
||||
HttpRequest: r,
|
||||
httpPathParams: nil,
|
||||
},
|
||||
Response: &Response{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue