mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
pkg: Rename imports after making 'pkg' a module
find -name '*.go' | xargs sed --follow-symlinks -i 's|go.etcd.io/etcd/v3/pkg/|go.etcd.io/etcd/pkg/v3/|g' go fmt ./...
This commit is contained in:
@@ -24,11 +24,11 @@ import (
|
||||
"time"
|
||||
|
||||
"go.etcd.io/etcd/api/v3/etcdserverpb"
|
||||
"go.etcd.io/etcd/pkg/v3/fileutil"
|
||||
"go.etcd.io/etcd/pkg/v3/idutil"
|
||||
"go.etcd.io/etcd/pkg/v3/pbutil"
|
||||
"go.etcd.io/etcd/v3/etcdserver/api/membership"
|
||||
"go.etcd.io/etcd/v3/etcdserver/api/snap"
|
||||
"go.etcd.io/etcd/v3/pkg/fileutil"
|
||||
"go.etcd.io/etcd/v3/pkg/idutil"
|
||||
"go.etcd.io/etcd/v3/pkg/pbutil"
|
||||
"go.etcd.io/etcd/v3/raft/raftpb"
|
||||
"go.etcd.io/etcd/v3/wal"
|
||||
"go.etcd.io/etcd/v3/wal/walpb"
|
||||
|
||||
@@ -21,8 +21,8 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/urfave/cli"
|
||||
"go.etcd.io/etcd/pkg/v3/pathutil"
|
||||
"go.etcd.io/etcd/v3/client"
|
||||
"go.etcd.io/etcd/v3/pkg/pathutil"
|
||||
)
|
||||
|
||||
func NewRoleCommands() cli.Command {
|
||||
|
||||
@@ -28,8 +28,8 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"go.etcd.io/etcd/pkg/v3/transport"
|
||||
"go.etcd.io/etcd/v3/client"
|
||||
"go.etcd.io/etcd/v3/pkg/transport"
|
||||
|
||||
"github.com/bgentry/speakeasy"
|
||||
"github.com/urfave/cli"
|
||||
|
||||
Reference in New Issue
Block a user