The build instructions don't explain how to get the code or put it in the right place in the GOPATH. An experienced Go developer will know what to do, but others have problems. I had to help someone at my company work through the gaps.
Also, the build command is more complicated than it needs to be. Go will install transitive dependencies automatically so the go install command only needs to target the main packages.
For anyone with a properly installed Go toolchain the following command will take care of both downloading the project code and building the binary. This is the command I suggested to my co-worker and it was much easier for them to use:
go get -v github.com/influxdata/influx-stress/cmd/...
The build instructions don't explain how to get the code or put it in the right place in the
GOPATH
. An experienced Go developer will know what to do, but others have problems. I had to help someone at my company work through the gaps.Also, the build command is more complicated than it needs to be. Go will install transitive dependencies automatically so the
go install
command only needs to target the main packages.For anyone with a properly installed Go toolchain the following command will take care of both downloading the project code and building the binary. This is the command I suggested to my co-worker and it was much easier for them to use: