transfer.sh/server
Stefan Benten f062af9fc5
server/handlers.go,storage.go: smaller fixes (#452)
This change moves a couple of defers in order to prevent them from not being executed since we have returned in error cases early.
It also fixes a couple of smaller linting issues, like error messages not starting with a capital letter and variable name collisions with imported packages.
2021-12-26 14:37:22 +01:00
..
clamav.go .github/workflows: adding golangci-lint as new job (#453) 2021-12-26 14:03:27 +01:00
handlers.go server/handlers.go,storage.go: smaller fixes (#452) 2021-12-26 14:37:22 +01:00
handlers_test.go Golint (#404) 2021-08-19 22:45:30 +02:00
ip_filter.go Golint (#404) 2021-08-19 22:45:30 +02:00
server.go .github/workflows: adding golangci-lint as new job (#453) 2021-12-26 14:03:27 +01:00
storage.go server/handlers.go,storage.go: smaller fixes (#452) 2021-12-26 14:37:22 +01:00
token.go Golint (#404) 2021-08-19 22:45:30 +02:00
token_test.go Golint (#404) 2021-08-19 22:45:30 +02:00
utils.go .github/workflows: adding golangci-lint as new job (#453) 2021-12-26 14:03:27 +01:00
virustotal.go .github/workflows: adding golangci-lint as new job (#453) 2021-12-26 14:03:27 +01:00