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

@@ -16,7 +16,7 @@ For example,
import (
"fmt"
"go.etcd.io/etcd/v3/pkg/adt"
"go.etcd.io/etcd/pkg/v3/adt"
)
func main() {

View File

@@ -17,7 +17,7 @@ package adt_test
import (
"fmt"
"go.etcd.io/etcd/v3/pkg/adt"
"go.etcd.io/etcd/pkg/v3/adt"
)
func Example() {