Skip to content

Commit

Permalink
feat: sort imports
Browse files Browse the repository at this point in the history
  • Loading branch information
SoulPancake committed Jun 1, 2024
1 parent 8ee282a commit 294860d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion om/json.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
3 changes: 2 additions & 1 deletion rueidis.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion rueidislock/lock.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ package rueidislock
import (
"context"
"errors"
"github.com/redis/rueidis/internal/util"
"strconv"
"strings"
"sync"
"sync/atomic"
"time"

"github.com/redis/rueidis"
"github.com/redis/rueidis/internal/util"
)

// LockerOption should be passed to NewLocker to construct a Locker
Expand Down
2 changes: 1 addition & 1 deletion sentinel.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"context"
"errors"
"fmt"
"github.com/redis/rueidis/internal/util"
"io"
"net"
"strings"
Expand All @@ -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) {
Expand Down

0 comments on commit 294860d

Please sign in to comment.