adding Do required for request language

This commit is contained in:
Cory Bennett
2017-08-21 09:33:07 -05:00
parent a91b9d56b0
commit a1c28495a7
+1
View File
@@ -7,6 +7,7 @@ import (
type HttpClient interface {
Delete(url string) (*http.Response, error)
Do(*http.Request) (*http.Response, error)
GetJSON(url string) (*http.Response, error)
Post(url, bodyType string, body io.Reader) (*http.Response, error)
Put(url, bodyType string, body io.Reader) (*http.Response, error)