...
1module go.etcd.io/etcd/client/v2
2
3go 1.21
4
5require (
6 github.com/json-iterator/go v1.1.11
7 github.com/modern-go/reflect2 v1.0.1
8 go.etcd.io/etcd/api/v3 v3.5.13
9 go.etcd.io/etcd/client/pkg/v3 v3.5.13
10)
11
12require (
13 github.com/coreos/go-semver v0.3.0 // indirect
14 github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect
15)
16
17replace (
18 go.etcd.io/etcd/api/v3 => ../../api
19 go.etcd.io/etcd/client/pkg/v3 => ../pkg
20)
21
22// Bad imports are sometimes causing attempts to pull that code.
23// This makes the error more explicit.
24replace (
25 go.etcd.io/etcd => ./FORBIDDEN_DEPENDENCY
26 go.etcd.io/etcd/pkg/v3 => ./FORBIDDED_DEPENDENCY
27 go.etcd.io/etcd/tests/v3 => ./FORBIDDEN_DEPENDENCY
28 go.etcd.io/etcd/v3 => ./FORBIDDEN_DEPENDENCY
29)
View as plain text