backstop/rabbit-mq-stress-tester

Problem with go build

Opened this issue · 2 comments

When i execute go build inside the project's folder i am getting the following error:

consumer.go:8:2: cannot find package "github.com/streadway/amqp" in any of:
/usr/local/go/src/github.com/streadway/amqp (from $GOROOT)
/home/kostasredarmy/go/src/github.com/streadway/amqp (from $GOPATH)
main.go:9:2: cannot find package "github.com/urfave/cli" in any of:
/usr/local/go/src/github.com/urfave/cli (from $GOROOT)
/home/kostasredarmy/go/src/github.com/urfave/cli (from $GOPATH)

agocs commented

Thanks for reporting this! I'll take a look a little later today

I resolve the problem by running:

go get github.com/streadway/amqp && go get github.com/urfave/cli

Due to urfave version i added also an & in front of each cli flags from the line 26 in main.go file