I have built a go package (https://github.com/emicklei/go-restful) and I am now trying to reference the output of that package build from my own workspace.
$GOPATH
|--src
| |-- {my source}
|--pkg
| |-- {package binaries /linux_amd64/github.com/emicklei/go-restful.a}
|--bin
|-- {my output}
but this fails to compile stating can not find package. go build is only searching the src folder as AFAIK and all the solutions I can find around this involve having the package source code, but surely it's possible to reference package binaries?