1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-26 17:34:13 +00:00

fix the init struct

This commit is contained in:
astaxie 2015-04-09 00:12:41 +08:00
parent 68ccd8e5a4
commit 4414659df4

View File

@ -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.