In the same place where you ran go build
, run go get
, no parameters. It will search the code base for all dependencies and download them. If you want, you can instead do go get -v
, where -v
stands for verbose. It will tell you exactly what it is downloading and building.
After that you should be able to go build
successfully.