Skip to content
Snippets Groups Projects
Commit 05a61464 authored by pantianying's avatar pantianying
Browse files

fix go fmt

parent 94636fc2
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,15 @@ package etcd
import (
"encoding/json"
"strings"
"time"
)
import (
perrors "github.com/pkg/errors"
)
import (
"github.com/apache/dubbo-go/common"
"github.com/apache/dubbo-go/common/constant"
"github.com/apache/dubbo-go/common/extension"
......@@ -27,9 +36,6 @@ import (
"github.com/apache/dubbo-go/metadata/report"
"github.com/apache/dubbo-go/metadata/report/factory"
"github.com/apache/dubbo-go/remoting/etcdv3"
perrors "github.com/pkg/errors"
"strings"
"time"
)
const DEFAULT_ROOT = "dubbo"
......
......@@ -18,16 +18,22 @@
package etcd
import (
"github.com/apache/dubbo-go/common"
"github.com/apache/dubbo-go/common/constant"
"github.com/apache/dubbo-go/metadata/identifier"
"github.com/coreos/etcd/embed"
"github.com/stretchr/testify/assert"
"net/url"
"strconv"
"testing"
)
import (
"github.com/coreos/etcd/embed"
"github.com/stretchr/testify/assert"
)
import (
"github.com/apache/dubbo-go/common"
"github.com/apache/dubbo-go/common/constant"
"github.com/apache/dubbo-go/metadata/identifier"
)
const defaultEtcdV3WorkDir = "/tmp/default-dubbo-go-registry.etcd"
func initEtcd(t *testing.T) *embed.Etcd {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment