From a1fb18a9fc6020a635d7aac064d87df497621274 Mon Sep 17 00:00:00 2001 From: haroldHT <479701624@qq.com> Date: Mon, 18 Feb 2019 18:15:40 +0800 Subject: [PATCH] benchmark: fix install docs --- tools/benchmark/README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tools/benchmark/README.md b/tools/benchmark/README.md index b2f745d93..1a8c02b6f 100644 --- a/tools/benchmark/README.md +++ b/tools/benchmark/README.md @@ -2,8 +2,11 @@ `etcd/tools/benchmark` is the official benchmarking tool for etcd clusters. -## Install - -```bash -go get github.com/coreos/etcd/tools/benchmark +## Download and install +To get `benchmark` from the `master` branch via `go get`: +```sh +$ go get go.etcd.io/etcd/tools/benchmark +# GOPATH should be set +$ ls $GOPATH/bin +benchmark ```