mirror of
https://github.com/astaxie/beego.git
synced 2024-11-05 01:10:55 +00:00
fix the init struct
This commit is contained in:
parent
44c8534477
commit
d55997e520
@ -85,7 +85,7 @@ func newBeegoRequest(url, method string) *BeegoHttpRequest {
|
|||||||
ProtoMajor: 1,
|
ProtoMajor: 1,
|
||||||
ProtoMinor: 1,
|
ProtoMinor: 1,
|
||||||
}
|
}
|
||||||
return &BeegoHttpRequest{url, &req, map[string]string{}, map[string]string{}, defaultSetting, &resp, nil}
|
return &BeegoHttpRequest{url, &req, map[string]string{}, map[string]string{}, defaultSetting, &resp, nil, nil}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get returns *BeegoHttpRequest with GET method.
|
// Get returns *BeegoHttpRequest with GET method.
|
||||||
|
Loading…
Reference in New Issue
Block a user