go get private repo
Go Modules
Go modules is becomming the standard go dependency tooling. It reuses teh go get
command that’s been around for a long time.
go get
doesn’t automatically handle private repos well.
If you usually clone repos using ssh, then you need to run the following git config command:
|
|
It updates $HOME/.gitconfig
with:
|
|
Then you can:
|
|