Skip to content

Commit

Permalink
Fix autoformat changes
Browse files Browse the repository at this point in the history
I didn't intend to change your import statements in my last commit
  • Loading branch information
marcinromaszewicz committed Apr 25, 2024
1 parent c121a7a commit fc44122
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 12 deletions.
3 changes: 1 addition & 2 deletions mockrc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ import (
"sync/atomic"
"time"

"google.golang.org/protobuf/proto"

"github.com/tsuna/gohbase/compression"
"github.com/tsuna/gohbase/hrpc"
"github.com/tsuna/gohbase/pb"
"github.com/tsuna/gohbase/region"
"google.golang.org/protobuf/proto"
)

type testClient struct {
Expand Down
5 changes: 2 additions & 3 deletions region/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ import (
"github.com/prometheus/client_golang/prometheus"
log "github.com/sirupsen/logrus"

"google.golang.org/protobuf/encoding/protowire"
"google.golang.org/protobuf/proto"

"github.com/tsuna/gohbase/hrpc"
"github.com/tsuna/gohbase/pb"
"google.golang.org/protobuf/encoding/protowire"
"google.golang.org/protobuf/proto"
)

// ClientType is a type alias to represent the type of this region client
Expand Down
4 changes: 2 additions & 2 deletions rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ import (
"time"

log "github.com/sirupsen/logrus"
"go.opentelemetry.io/otel/codes"
"google.golang.org/protobuf/proto"

"github.com/tsuna/gohbase/hrpc"
"github.com/tsuna/gohbase/internal/observability"
"github.com/tsuna/gohbase/region"
"github.com/tsuna/gohbase/zk"
"go.opentelemetry.io/otel/codes"
"google.golang.org/protobuf/proto"
)

// Constants
Expand Down
6 changes: 3 additions & 3 deletions rpc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ import (

"github.com/golang/mock/gomock"
"github.com/prometheus/client_golang/prometheus"
"google.golang.org/protobuf/proto"
"google.golang.org/protobuf/types/known/wrapperspb"
"modernc.org/b/v2"

"github.com/tsuna/gohbase/compression"
"github.com/tsuna/gohbase/hrpc"
Expand All @@ -33,6 +30,9 @@ import (
mockRegion "github.com/tsuna/gohbase/test/mock/region"
mockZk "github.com/tsuna/gohbase/test/mock/zk"
"github.com/tsuna/gohbase/zk"
"google.golang.org/protobuf/proto"
"google.golang.org/protobuf/types/known/wrapperspb"
"modernc.org/b/v2"
)

func newRegionClientFn(addr string) func() hrpc.RegionClient {
Expand Down
3 changes: 1 addition & 2 deletions zk/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ import (
log "github.com/sirupsen/logrus"

"github.com/go-zookeeper/zk"
"google.golang.org/protobuf/proto"

"github.com/tsuna/gohbase/pb"
"google.golang.org/protobuf/proto"
)

type logger struct{}
Expand Down

0 comments on commit fc44122

Please sign in to comment.