3 ms·
No I am not. I don't even know how to make "go build" authenticate to Github. (It's not my code I'm pulling, it's the random libraries my code depends on.) T
by jrockway 7y ago
No I am not. I don't even know how to make "go build" authenticate to Github. (It's not my code I'm pulling, it's the random libraries my code depends on.)
This is why the proxy exists.
- nhooyr 7y agoIf git is authenticated with GitHub for you, go build is as well.
- thefounder 7y ago"go build" doesn't fetch the dependencies, does it? Go uses the local settings (i.e .netrc file in your home directory)
- ownagefool 7y agogo build will fetch the dependencies if you don't have them. However, they're stored in the $GOPATH, which now defaults to ~/go I believe. Therefore, chances are you already have them.