update go mod
This commit is contained in:
parent
28ebb480f7
commit
77d5a7e294
13
go.mod
13
go.mod
@ -2,13 +2,9 @@ module git.zhangdeman.cn/zhangdeman/etcd
|
||||
|
||||
go 1.17
|
||||
|
||||
replace github.com/coreos/bbolt v1.3.4 => go.etcd.io/bbolt v1.3.4
|
||||
|
||||
replace google.golang.org/grpc => google.golang.org/grpc v1.26.0
|
||||
|
||||
require (
|
||||
github.com/coreos/etcd v3.3.27+incompatible
|
||||
github.com/pkg/errors v0.9.1
|
||||
replace (
|
||||
github.com/coreos/bbolt v1.3.4 => go.etcd.io/bbolt v1.3.4
|
||||
google.golang.org/grpc => google.golang.org/grpc v1.26.0
|
||||
)
|
||||
|
||||
require (
|
||||
@ -47,6 +43,8 @@ require (
|
||||
sigs.k8s.io/yaml v1.3.0 // indirect
|
||||
)
|
||||
|
||||
require github.com/coreos/etcd v3.3.27+incompatible
|
||||
|
||||
require (
|
||||
github.com/Jeffail/gabs v1.4.0 // indirect
|
||||
github.com/axgle/mahonia v0.0.0-20180208002826-3358181d7394 // indirect
|
||||
@ -56,6 +54,7 @@ require (
|
||||
github.com/google/uuid v1.3.0 // indirect
|
||||
github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect
|
||||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
||||
github.com/pkg/errors v0.9.1 // indirect
|
||||
github.com/prometheus/client_golang v1.14.0 // indirect
|
||||
github.com/spaolacci/murmur3 v1.1.0 // indirect
|
||||
github.com/stretchr/testify v1.8.1 // indirect
|
||||
|
2
init.go
2
init.go
@ -8,8 +8,8 @@
|
||||
package etcd
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"github.com/coreos/etcd/clientv3"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
var (
|
||||
|
Loading…
Reference in New Issue
Block a user