diff options
author | Valery Piashchynski <[email protected]> | 2020-10-28 15:57:45 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-10-28 15:57:45 +0300 |
commit | 175c02e501a3b5110f8882599d5d033fde5bf81b (patch) | |
tree | d4ed0d2a879fc9515062b77fc54ec80e66cf0054 /plugins/logger | |
parent | 2f2a0f90d0ff5ef773f17451bfa2c679604562f7 (diff) |
goimport-ed files
Diffstat (limited to 'plugins/logger')
-rw-r--r-- | plugins/logger/config.go | 3 | ||||
-rw-r--r-- | plugins/logger/encoder.go | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/plugins/logger/config.go b/plugins/logger/config.go index 9248eb3a..f7a5742c 100644 --- a/plugins/logger/config.go +++ b/plugins/logger/config.go @@ -1,9 +1,10 @@ package logger import ( + "strings" + "go.uber.org/zap" "go.uber.org/zap/zapcore" - "strings" ) // ChannelConfig configures loggers per channel. diff --git a/plugins/logger/encoder.go b/plugins/logger/encoder.go index 30ae2400..66cd84f1 100644 --- a/plugins/logger/encoder.go +++ b/plugins/logger/encoder.go @@ -1,11 +1,12 @@ package logger import ( - "github.com/fatih/color" - "go.uber.org/zap/zapcore" "hash/fnv" "strings" "time" + + "github.com/fatih/color" + "go.uber.org/zap/zapcore" ) var colorMap = []func(string, ...interface{}) string{ |