4 ms·
Are you pulling as an authenticated GitHub user? The rate limit for an authenticated user is 5000 pulls per hour, unauthenticated is 60.
by donatj 7y ago
Are you pulling as an authenticated GitHub user? The rate limit for an authenticated user is 5000 pulls per hour, unauthenticated is 60.
- jrockway 7y agoNo 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.