Skip to content

Instantly share code, notes, and snippets.

@alexrios
Created December 21, 2019 03:46
Show Gist options
  • Save alexrios/122c4a915f5e51e381eeba44c254d181 to your computer and use it in GitHub Desktop.
Save alexrios/122c4a915f5e51e381eeba44c254d181 to your computer and use it in GitHub Desktop.
Usando repositorios privados com Go Modules

1 - Configurar GIT (~/.gitconfig)

[url "ssh://git@github.com/"]
	insteadOf = https://github.com/

2 - Evitar a checagem do SUMDB

go env -w GONOSUMDB="github.com/<org>/<project>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment