refactor: add more go linters (#970)

This commit is contained in:
Oleg Lobanov authored and GitHub committed 2020-06-01 01:12:36 +02:00
1 parent 54d92a2708
commit 700f32718e
56 files changed
+436 -221

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ import (
"github.com/filebrowser/filebrowser/v2/errors"
)
func renderJSON(w http.ResponseWriter, r *http.Request, data interface{}) (int, error) {
func renderJSON(w http.ResponseWriter, _ *http.Request, data interface{}) (int, error) {
marsh, err := json.Marshal(data)
if err != nil {