diff options
author | Feuerfuchs <git@feuerfuchs.dev> | 2020-05-18 16:12:43 +0200 |
---|---|---|
committer | Feuerfuchs <git@feuerfuchs.dev> | 2020-05-18 16:12:43 +0200 |
commit | ac770231436f8a17d348a6a0ab934429df3c57d0 (patch) | |
tree | 50e14597a6b20a464882b123275f76b906616af7 /pkg/libgopher | |
parent | WIP: Refactoring (diff) | |
download | gopherproxy-ac770231436f8a17d348a6a0ab934429df3c57d0.tar.gz gopherproxy-ac770231436f8a17d348a6a0ab934429df3c57d0.tar.bz2 gopherproxy-ac770231436f8a17d348a6a0ab934429df3c57d0.zip |
WIP: Refactoring
Diffstat (limited to 'pkg/libgopher')
-rw-r--r-- | pkg/libgopher/libgopher.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/libgopher/libgopher.go b/pkg/libgopher/libgopher.go index 86d58ff..dcf13ee 100644 --- a/pkg/libgopher/libgopher.go +++ b/pkg/libgopher/libgopher.go | |||
@@ -184,7 +184,7 @@ type Response struct { | |||
184 | Body io.Reader | 184 | Body io.Reader |
185 | } | 185 | } |
186 | 186 | ||
187 | // Get fetches a Gopher resource by URI | 187 | // Get fetches a Gopher resource by URL |
188 | func Get(uri string) (*Response, error) { | 188 | func Get(uri string) (*Response, error) { |
189 | u, err := url.Parse(uri) | 189 | u, err := url.Parse(uri) |
190 | if err != nil { | 190 | if err != nil { |