mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
raftexample: update readme
This commit is contained in:
parent
74d6df2bd6
commit
5b4ff6c6d5
@ -8,11 +8,11 @@ raftexample is an example usage of etcd's [raft library](../../raft). It provide
|
||||
|
||||
### Building raftexample
|
||||
|
||||
Clone `etcd` to `<your directory>/src/go.etcd.io/etcd`
|
||||
Clone `etcd` to `<directory>/src/go.etcd.io/etcd`
|
||||
|
||||
```sh
|
||||
export GOPATH=<your directory>
|
||||
cd <your directory>/src/go.etcd.io/etcd/contrib/raftexample
|
||||
export GOPATH=<directory>
|
||||
cd <directory>/src/go.etcd.io/etcd/contrib/raftexample
|
||||
go build -o raftexample
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user