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:
@@ -25,9 +25,9 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"go.etcd.io/etcd/pkg/v3/fileutil"
|
||||
"go.etcd.io/etcd/pkg/v3/proxy"
|
||||
"go.etcd.io/etcd/tests/v3/functional/rpcpb"
|
||||
"go.etcd.io/etcd/v3/pkg/fileutil"
|
||||
"go.etcd.io/etcd/v3/pkg/proxy"
|
||||
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
@@ -21,9 +21,9 @@ import (
|
||||
"os/exec"
|
||||
"strings"
|
||||
|
||||
"go.etcd.io/etcd/pkg/v3/proxy"
|
||||
"go.etcd.io/etcd/tests/v3/functional/rpcpb"
|
||||
"go.etcd.io/etcd/v3/embed"
|
||||
"go.etcd.io/etcd/v3/pkg/proxy"
|
||||
|
||||
"go.uber.org/zap"
|
||||
"google.golang.org/grpc"
|
||||
|
||||
@@ -24,7 +24,7 @@ import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"go.etcd.io/etcd/v3/pkg/fileutil"
|
||||
"go.etcd.io/etcd/pkg/v3/fileutil"
|
||||
)
|
||||
|
||||
// TODO: support separate WAL directory
|
||||
|
||||
@@ -28,7 +28,7 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"go.etcd.io/etcd/v3/pkg/proxy"
|
||||
"go.etcd.io/etcd/pkg/v3/proxy"
|
||||
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
@@ -23,10 +23,10 @@ import (
|
||||
"time"
|
||||
|
||||
pb "go.etcd.io/etcd/api/v3/etcdserverpb"
|
||||
"go.etcd.io/etcd/pkg/v3/logutil"
|
||||
"go.etcd.io/etcd/pkg/v3/transport"
|
||||
"go.etcd.io/etcd/v3/clientv3"
|
||||
"go.etcd.io/etcd/v3/etcdctl/snapshot"
|
||||
"go.etcd.io/etcd/v3/pkg/logutil"
|
||||
"go.etcd.io/etcd/v3/pkg/transport"
|
||||
|
||||
"github.com/dustin/go-humanize"
|
||||
"go.uber.org/zap"
|
||||
|
||||
@@ -22,8 +22,8 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"go.etcd.io/etcd/pkg/v3/stringutil"
|
||||
"go.etcd.io/etcd/v3/clientv3"
|
||||
"go.etcd.io/etcd/v3/pkg/stringutil"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
"golang.org/x/time/rate"
|
||||
|
||||
@@ -29,9 +29,9 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"go.etcd.io/etcd/pkg/v3/debugutil"
|
||||
"go.etcd.io/etcd/pkg/v3/fileutil"
|
||||
"go.etcd.io/etcd/tests/v3/functional/rpcpb"
|
||||
"go.etcd.io/etcd/v3/pkg/debugutil"
|
||||
"go.etcd.io/etcd/v3/pkg/fileutil"
|
||||
|
||||
"github.com/prometheus/client_golang/prometheus/promhttp"
|
||||
"go.uber.org/zap"
|
||||
|
||||
@@ -19,8 +19,8 @@ import (
|
||||
"os"
|
||||
"time"
|
||||
|
||||
"go.etcd.io/etcd/pkg/v3/fileutil"
|
||||
"go.etcd.io/etcd/tests/v3/functional/rpcpb"
|
||||
"go.etcd.io/etcd/v3/pkg/fileutil"
|
||||
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user