aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/libgopher
diff options
context:
space:
mode:
authorFeuerfuchs <git@feuerfuchs.dev>2020-05-18 16:12:43 +0200
committerFeuerfuchs <git@feuerfuchs.dev>2020-05-18 16:12:43 +0200
commitac770231436f8a17d348a6a0ab934429df3c57d0 (patch)
tree50e14597a6b20a464882b123275f76b906616af7 /pkg/libgopher
parentWIP: Refactoring (diff)
downloadgopherproxy-ac770231436f8a17d348a6a0ab934429df3c57d0.tar.gz
gopherproxy-ac770231436f8a17d348a6a0ab934429df3c57d0.tar.bz2
gopherproxy-ac770231436f8a17d348a6a0ab934429df3c57d0.zip
WIP: Refactoring
Diffstat (limited to 'pkg/libgopher')
-rw-r--r--pkg/libgopher/libgopher.go2
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
188func Get(uri string) (*Response, error) { 188func 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 {