summaryrefslogtreecommitdiff
path: root/gopher
diff options
context:
space:
mode:
Diffstat (limited to 'gopher')
-rw-r--r--gopher/request.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/gopher/request.go b/gopher/request.go
index 0757654..4aac218 100644
--- a/gopher/request.go
+++ b/gopher/request.go
@@ -26,8 +26,7 @@ func ParseRequest(rdr io.Reader) (*sr.Request, error) {
URL: &url.URL{
Scheme: "gopher",
Path: path.Clean(selector),
- OmitHost: true, //nolint:typecheck
- // (for some reason typecheck on drone-ci doesn't realize OmitHost is a field in url.URL)
+ OmitHost: true,
RawQuery: url.QueryEscape(search),
},
}, nil