Closed tj closed 11 years ago
Hey there. Are you trying to use it as a library by importing it or are you trying to install the cli? If you're using it as a library have a look at the example in the README: https://github.com/tsenart/vegeta#usage-library
I had a missing statement in the install instructions. Before go install
we need go get
. Thanks for reporting :)
Just the CLI for me, I'm getting:
go get github.com/tsenart/vegeta
# cd .; hg clone -U https://code.google.com/p/plotinum /Users/tj/.go/src/code.google.com/p/plotinum
package code.google.com/p/plotinum/plot: exec: "hg": executable file not found in $PATH
package code.google.com/p/plotinum/plotter
imports code.google.com/p/plotinum/plotter
tried the git urls to see if that'd stop confusing go but nope:
$ go get https://github.com/tsenart/vegeta.git
package https:/github.com/tsenart/vegeta.git: unrecognized import path "https:/github.com/tsenart/vegeta.git"
The go toolset uses git, hg and svn underlying. It seems like you don't have hg
(Mercurial) installed or available in your $PATH
.
oh wtf, you need mercurial to install git related packages?
oh i see it has to bootstrap some stuff, cool working now thanks!
go hates me haha:
go get github.com/tsenart/vegeta
# github.com/tsenart/vegeta/lib
../../.go/src/github.com/tsenart/vegeta/lib/timings_plot_reporter.go:4: import /Users/tj/.go/pkg/darwin_386/code.google.com/p/plotinum/plot.a: not a package file
Oh man you have your go installation messed up somehow. I added pre-compiled binaries for these cases. https://github.com/tsenart/vegeta#pre-compiled-executables
haha success! I had just installed 1.1.2, seems pretty finicky, but the bin is working sorry about that!
Oh @tj the Express js creator
is my go too old maybe? 1.0.3