
Part of series: tutorial
Using private Go libs
Step 1 - Configure GIT (~/.gitconfig)
[url "ssh://git@github.com/"]
insteadOf = https://github.com/
Step 2 - Add the private repository location in GOPRIVATE env var
go env -w GOPRIVATE="github.com/<org>/<project>"