summaryrefslogtreecommitdiff
path: root/internal/http/http.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2023-02-16 16:03:46 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2023-02-16 16:03:46 +0100
commit57705feadd598c9a14df53b83161b8f020731bd6 (patch)
tree0320e7739eca0c0afbe7087340d017413940c31e /internal/http/http.go
parent0566c505b1462e47a9dc44d7b26534b41aca1c4f (diff)
Format: Run gofumpt
Diffstat (limited to 'internal/http/http.go')
-rw-r--r--internal/http/http.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/http/http.go b/internal/http/http.go
index c5939b5..9b45733 100644
--- a/internal/http/http.go
+++ b/internal/http/http.go
@@ -161,7 +161,6 @@ func (c *Client) PostWithOpts(url string, opts *OptionalParams) (http.Header, []
return c.Do(http.MethodPost, url, opts)
}
-
// MethodWithOpts Do send a HTTP request using a method (e.g. GET, POST), an url and optional parameters
// It returns the HTTP headers, the body and an error if there is one.
func (c *Client) Do(method string, urlStr string, opts *OptionalParams) (http.Header, []byte, error) {