mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
raft: Make raft a module
Establishing a module: Creating a go.mod files
This commit is contained in:
19
raft/go.mod
Normal file
19
raft/go.mod
Normal file
@@ -0,0 +1,19 @@
|
||||
module go.etcd.io/etcd/raft/v3
|
||||
|
||||
go 1.15
|
||||
|
||||
require (
|
||||
github.com/cockroachdb/datadriven v0.0.0-20200714090401-bf6692d28da5
|
||||
github.com/gogo/protobuf v1.3.1
|
||||
github.com/golang/protobuf v1.3.5
|
||||
github.com/pkg/errors v0.9.1 // indirect
|
||||
go.etcd.io/etcd/pkg/v3 v3.0.0-00010101000000-000000000000
|
||||
)
|
||||
|
||||
// Bad imports are sometimes causing attempts to pull that code.
|
||||
// This makes the error more explicit.
|
||||
replace go.etcd.io/etcd => ./FORBIDDEN_DEPENDENCY
|
||||
|
||||
replace go.etcd.io/etcd/v3 => ./FORBIDDEN_DEPENDENCY
|
||||
|
||||
replace go.etcd.io/etcd/pkg/v3 => ../pkg
|
||||
Reference in New Issue
Block a user