mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 20:34:02 +03:00
Fix lint errors
This commit is contained in:
+2
-1
@@ -13,6 +13,7 @@ import (
|
||||
|
||||
var instance *stats
|
||||
|
||||
// Start starts new statisitcs server.
|
||||
func Start(conf *config.Config) {
|
||||
log := zap.S().Named("stats")
|
||||
|
||||
@@ -40,7 +41,7 @@ func Start(conf *config.Config) {
|
||||
}
|
||||
|
||||
interm := map[string]interface{}{}
|
||||
json.Unmarshal(first, &interm)
|
||||
json.Unmarshal(first, &interm) // nolint: errcheck
|
||||
|
||||
encoder := json.NewEncoder(w)
|
||||
encoder.SetEscapeHTML(false)
|
||||
|
||||
Reference in New Issue
Block a user