chore: upgrade golangci-lint to 1.51.1

This commit is contained in:
Oleg Lobanov 2023-02-16 09:11:12 +01:00
parent fa95299df4
commit 10d628aecc
No known key found for this signature in database
11 changed files with 307 additions and 719 deletions

View file

@ -44,7 +44,7 @@ func parseQueryFiles(r *http.Request, f *files.FileInfo, _ *users.User) ([]strin
return fileSlice, nil
}
//nolint: goconst
// nolint: goconst,nolintlint
func parseQueryAlgorithm(r *http.Request) (string, archiver.Writer, error) {
// TODO: use enum
switch r.URL.Query().Get("algo") {