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