Fix all golangci-lint warnings surfaced by v2.4.0 (#4567)
* Initial plan * Fix all golangci-lint warnings (21 issues resolved) Co-authored-by: gabek <414923+gabek@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: gabek <414923+gabek@users.noreply.github.com>
This commit is contained in:
co-authored by
gabek
copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
parent
19a4593a12
commit
a0066fcf54
@@ -11,7 +11,7 @@ import (
|
||||
func GetURLParam(r *http.Request, key string) (value string, err error) {
|
||||
value = chi.URLParam(r, key)
|
||||
if value == "" {
|
||||
err = errors.New("Request does not contain requested URL param")
|
||||
err = errors.New("request does not contain requested URL param")
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user