Fix lint gosec and ifshort issues

This commit is contained in:
Lawrence, Rendall
2022-04-12 18:51:03 +03:00
parent 554ae6fcd6
commit 64eaf9d733
10 changed files with 25 additions and 22 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ import (
"github.com/sot-tech/mochi/middleware"
"github.com/sot-tech/mochi/pkg/log"
"github.com/sot-tech/mochi/pkg/metrics"
_ "github.com/sot-tech/mochi/pkg/rand_seed"
_ "github.com/sot-tech/mochi/pkg/randseed"
"github.com/sot-tech/mochi/pkg/stop"
"github.com/sot-tech/mochi/storage"
"github.com/spf13/cobra"