Update golangci-lint

This commit is contained in:
9seconds
2019-01-24 08:15:56 +03:00
parent 16558a7c55
commit f68b195306
8 changed files with 14 additions and 30 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ import (
func startServer(conf *config.Config, prometheusHandler http.Handler) {
log := zap.S().Named("stats")
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
http.HandleFunc("/", func(w http.ResponseWriter, _ *http.Request) {
w.Header().Set("Content-Type", "application/json")
first, err := json.Marshal(GetStats())