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:
@@ -30,7 +30,7 @@ import (
|
||||
"time"
|
||||
|
||||
"go.etcd.io/etcd/api/v3/version"
|
||||
"go.etcd.io/etcd/v3/pkg/testutil"
|
||||
"go.etcd.io/etcd/pkg/v3/testutil"
|
||||
)
|
||||
|
||||
type actionAssertingHTTPClient struct {
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
package client
|
||||
|
||||
import (
|
||||
"go.etcd.io/etcd/v3/pkg/srv"
|
||||
"go.etcd.io/etcd/pkg/v3/srv"
|
||||
)
|
||||
|
||||
// Discoverer is an interface that wraps the Discover method.
|
||||
|
||||
@@ -19,7 +19,7 @@ import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"go.etcd.io/etcd/v3/pkg/pathutil"
|
||||
"go.etcd.io/etcd/pkg/v3/pathutil"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"strconv"
|
||||
|
||||
@@ -18,7 +18,7 @@ import (
|
||||
"net/http"
|
||||
"testing"
|
||||
|
||||
"go.etcd.io/etcd/v3/pkg/testutil"
|
||||
"go.etcd.io/etcd/pkg/v3/testutil"
|
||||
)
|
||||
|
||||
func exampleEndpoints() []string { return nil }
|
||||
|
||||
@@ -23,7 +23,7 @@ import (
|
||||
"net/url"
|
||||
"path"
|
||||
|
||||
"go.etcd.io/etcd/v3/pkg/types"
|
||||
"go.etcd.io/etcd/pkg/v3/types"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -23,7 +23,7 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"go.etcd.io/etcd/v3/pkg/types"
|
||||
"go.etcd.io/etcd/pkg/v3/types"
|
||||
)
|
||||
|
||||
func TestMembersAPIActionList(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user