Skip to content

Commit

Permalink
refactor!: autocli go.mod and package naming
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronc committed Sep 14, 2022
1 parent 8542288 commit fb1a0a0
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion client/v2/cli/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"google.golang.org/grpc"

"github.com/cosmos/cosmos-sdk/client/v2/cli/flag"
"cosmossdk.io/client/v2/cli/flag"
)

// Builder manages options for building CLI commands.
Expand Down
2 changes: 1 addition & 1 deletion client/v2/cli/flag/field.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"google.golang.org/protobuf/proto"
"google.golang.org/protobuf/reflect/protoreflect"

"github.com/cosmos/cosmos-sdk/client/v2/internal/util"
"cosmossdk.io/client/v2/internal/util"
)

// FieldValueBinder wraps a flag value in a way that allows it to be bound
Expand Down
2 changes: 1 addition & 1 deletion client/v2/cli/flag/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"google.golang.org/protobuf/proto"
"google.golang.org/protobuf/reflect/protoreflect"

"github.com/cosmos/cosmos-sdk/client/v2/internal/util"
"cosmossdk.io/client/v2/internal/util"
)

type jsonMessageFlagType struct {
Expand Down
2 changes: 1 addition & 1 deletion client/v2/cli/flag/pagination.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/spf13/pflag"
"google.golang.org/protobuf/reflect/protoreflect"

"github.com/cosmos/cosmos-sdk/client/v2/internal/util"
"cosmossdk.io/client/v2/internal/util"
)

func (b *Builder) bindPageRequest(ctx context.Context, flagSet *pflag.FlagSet, field protoreflect.FieldDescriptor) FieldValueBinder {
Expand Down
4 changes: 2 additions & 2 deletions client/v2/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"google.golang.org/protobuf/reflect/protoreflect"
"google.golang.org/protobuf/reflect/protoregistry"

"github.com/cosmos/cosmos-sdk/client/v2/cli/flag"
"github.com/cosmos/cosmos-sdk/client/v2/internal/util"
"cosmossdk.io/client/v2/cli/flag"
"cosmossdk.io/client/v2/internal/util"
)

// AddQueryServiceCommands adds a sub-command to the provided command for each
Expand Down
2 changes: 1 addition & 1 deletion client/v2/cli/query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"gotest.tools/v3/assert"
"gotest.tools/v3/golden"

"github.com/cosmos/cosmos-sdk/client/v2/internal/testpb"
"cosmossdk.io/client/v2/internal/testpb"
)

func testExec(t *testing.T, args ...string) *testClientConn {
Expand Down
2 changes: 1 addition & 1 deletion client/v2/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/cosmos/cosmos-sdk/client/v2
module cosmossdk.io/client/v2

go 1.18

Expand Down

0 comments on commit fb1a0a0

Please sign in to comment.