fix or suppress lint warnings detected by golangci-lint 1.55.0

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino
2023-10-20 20:31:17 +02:00
parent 6282f95bd3
commit ba9df51b2e
17 changed files with 118 additions and 118 deletions

View File

@@ -478,7 +478,7 @@ func (fs *httpFsImpl) configureRouter() {
fs.router = chi.NewRouter()
fs.router.Use(middleware.Recoverer)
fs.router.Get(statPath+"/{name}", fs.stat)
fs.router.Get(statPath+"/{name}", fs.stat) //nolint:goconst
fs.router.Get(openPath+"/{name}", fs.open)
fs.router.Post(createPath+"/{name}", fs.create)
fs.router.Patch(renamePath+"/{name}", fs.rename)