fix the init struct
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -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. | ... | ... |
-
Please register or sign in to post a comment