fix golangci-lint failed (#284)

* fix golangci-lint error
This commit is contained in:
silenceper authored and GitHub committed 2020-06-24 14:36:33 +08:00
1 parent b5c70cc206
commit 868b31cb3d
31 files changed
+175 -155

No files matched your search

-2
View File
@@ -16,7 +16,6 @@ import (
)
func init() {
// Log as JSON instead of the default ASCII formatter.
log.SetFormatter(&log.TextFormatter{})
@@ -26,7 +25,6 @@ func init() {
// Only log the warning severity or above.
log.SetLevel(log.DebugLevel)
}
// Wechat struct