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

@@ -21,7 +21,7 @@ import (
"sort"
"strings"
"go.etcd.io/etcd/v3/pkg/types"
"go.etcd.io/etcd/pkg/v3/types"
)
// UniqueURLs contains unique URLs

View File

@@ -20,7 +20,7 @@ import (
"net/url"
"strings"
"go.etcd.io/etcd/v3/pkg/types"
"go.etcd.io/etcd/pkg/v3/types"
)
// URLsValue wraps "types.URLs".