For some reason, I want to build a go project (dockers) from a source, following an official document.
This works well if I:
... cd $GOPATH/src/github.com/docker/swarm go install .
But this fails if I try to "line it" and avoid cd :
go install $GOPATH/src/github.com/docker/swarm ERROR: can't load package: package <my go path>/src/github.com/docker/swarm: import "<my go path>/src/github.com/docker/swarm": cannot import absolute path
Why canβt you deal with this absolute path?
source share