summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/logger/config.go3
-rw-r--r--plugins/logger/encoder.go5
-rwxr-xr-xplugins/rpc/rpc.go3
3 files changed, 7 insertions, 4 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{
diff --git a/plugins/rpc/rpc.go b/plugins/rpc/rpc.go
index 894c89d8..d272fc72 100755
--- a/plugins/rpc/rpc.go
+++ b/plugins/rpc/rpc.go
@@ -1,9 +1,10 @@
package rpc
import (
- "go.uber.org/zap"
"net/rpc"
+ "go.uber.org/zap"
+
"github.com/spiral/endure"
"github.com/spiral/endure/errors"
"github.com/spiral/goridge/v2"