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:
Piotr Tabor
2020-10-13 00:01:51 +02:00
parent bfa91d48af
commit de55bb6331
260 changed files with 368 additions and 366 deletions

View File

@@ -24,11 +24,11 @@ import (
"strconv"
"time"
"go.etcd.io/etcd/pkg/v3/fileutil"
"go.etcd.io/etcd/pkg/v3/types"
"go.etcd.io/etcd/v3/etcdserver/api/rafthttp"
"go.etcd.io/etcd/v3/etcdserver/api/snap"
stats "go.etcd.io/etcd/v3/etcdserver/api/v2stats"
"go.etcd.io/etcd/v3/pkg/fileutil"
"go.etcd.io/etcd/v3/pkg/types"
"go.etcd.io/etcd/v3/raft"
"go.etcd.io/etcd/v3/raft/raftpb"
"go.etcd.io/etcd/v3/wal"