diff --git a/om/json.go b/om/json.go index 807d2ad6..7b828471 100644 --- a/om/json.go +++ b/om/json.go @@ -3,12 +3,12 @@ package om import ( "context" "encoding/json" - "github.com/oklog/ulid/v2" "reflect" "strconv" "strings" "time" + "github.com/oklog/ulid/v2" "github.com/redis/rueidis" ) diff --git a/rueidis.go b/rueidis.go index fc75ce0d..71d13657 100644 --- a/rueidis.go +++ b/rueidis.go @@ -7,12 +7,13 @@ import ( "context" "crypto/tls" "errors" - "github.com/redis/rueidis/internal/util" "math" "net" "runtime" "strings" "time" + + "github.com/redis/rueidis/internal/util" ) const ( diff --git a/rueidislock/lock.go b/rueidislock/lock.go index 3b211414..eb070b90 100644 --- a/rueidislock/lock.go +++ b/rueidislock/lock.go @@ -3,7 +3,6 @@ package rueidislock import ( "context" "errors" - "github.com/redis/rueidis/internal/util" "strconv" "strings" "sync" @@ -11,6 +10,7 @@ import ( "time" "github.com/redis/rueidis" + "github.com/redis/rueidis/internal/util" ) // LockerOption should be passed to NewLocker to construct a Locker diff --git a/sentinel.go b/sentinel.go index c8b7ae14..f4e716ee 100644 --- a/sentinel.go +++ b/sentinel.go @@ -5,7 +5,6 @@ import ( "context" "errors" "fmt" - "github.com/redis/rueidis/internal/util" "io" "net" "strings" @@ -14,6 +13,7 @@ import ( "time" "github.com/redis/rueidis/internal/cmds" + "github.com/redis/rueidis/internal/util" ) func newSentinelClient(opt *ClientOption, connFn connFn) (client *sentinelClient, err error) {