4414659d by astaxie

fix the init struct

1 parent 68ccd8e5
...@@ -85,7 +85,7 @@ func newBeegoRequest(url, method string) *BeegoHttpRequest { ...@@ -85,7 +85,7 @@ func newBeegoRequest(url, method string) *BeegoHttpRequest {
85 ProtoMajor: 1, 85 ProtoMajor: 1,
86 ProtoMinor: 1, 86 ProtoMinor: 1,
87 } 87 }
88 return &BeegoHttpRequest{url, &req, map[string]string{}, map[string]string{}, defaultSetting, &resp, nil} 88 return &BeegoHttpRequest{url, &req, map[string]string{}, map[string]string{}, defaultSetting, &resp, nil, nil}
89 } 89 }
90 90
91 // Get returns *BeegoHttpRequest with GET method. 91 // Get returns *BeegoHttpRequest with GET method.
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!