Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor!: autocli go.mod and package naming #13294

Merged
merged 1 commit into from
Sep 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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