mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 06:40:54 +03:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user