benchmark: fix install docs

This commit is contained in:
haroldHT 2019-02-18 18:15:40 +08:00
parent 24fc2a983a
commit a1fb18a9fc

View File

@ -2,8 +2,11 @@
`etcd/tools/benchmark` is the official benchmarking tool for etcd clusters. `etcd/tools/benchmark` is the official benchmarking tool for etcd clusters.
## Install ## Download and install
To get `benchmark` from the `master` branch via `go get`:
```bash ```sh
go get github.com/coreos/etcd/tools/benchmark $ go get go.etcd.io/etcd/tools/benchmark
# GOPATH should be set
$ ls $GOPATH/bin
benchmark
``` ```