Ask HN: Why do go apps have to live in $GOPATH/src? I don't get why GO projects need to live in $GOPATH, i know this is at least a requirement of Go deps but it seems dumb. |
Ask HN: Why do go apps have to live in $GOPATH/src? I don't get why GO projects need to live in $GOPATH, i know this is at least a requirement of Go deps but it seems dumb. |
/usr/local/go/pkg/tool/linux_amd64/6g mygofile.go -o mygofile.a /usr/local/go/pkg/tool/linux_amd64/6l mygofile.a mygapp (disclaimer - this is off the top of my head - haven't manually compiled and linked in years because the go tool makes that unnecessary)