mgerb / ServerStatus

A Discord bot to display the status of servers.
https://hub.docker.com/r/mgerb/server-status
76 stars 16 forks source link

cannot find package ... #2

Closed Manoz closed 7 years ago

Manoz commented 7 years ago

Hey,

After cloning your packages, I started the make all command. I have Go installed of course. Any idea how to solve this?

screen shot 2017-06-11 at 17 50 32
mgerb commented 7 years ago

Make sure you have your GOPATH set up properly.

I typically have something like this in my .bashrc file.

export GOPATH=/home/go
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOBIN

Edit: Looks like you may not have installed dependencies actually. Run go get before you run make all.

Manoz commented 7 years ago

Hum indeed. $ go get github.com/bwmarrin/discordgo and $ go get github.com/anvie/port-scanner did work. Thank you :)