Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with go build #11

Open
ktsakos opened this issue Feb 23, 2022 · 2 comments
Open

Problem with go build #11

ktsakos opened this issue Feb 23, 2022 · 2 comments

Comments

@ktsakos
Copy link

ktsakos commented Feb 23, 2022

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
Copy link
Contributor

agocs commented Feb 23, 2022

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

@ktsakos
Copy link
Author

ktsakos commented Feb 23, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants