Shared kernel of microservices
Set the enviroment variable GOPRIVATE, to indicate the source of code (alternative)
export GOPRIVATE=github.com/bloock
If in the "go get" process the command throw any error related with the credential, yo should launch:
git config --global url."[email protected]:".insteadOf "https://github.com/"
The workflow should be
--- Normal flow ---
git add .
git commit -m "Commmit msg"
git push
--- Closing version ---
git tag v0.1.0
git push origin v0.1.1
This command should create a new tag into remote github repository to be able use it as a dependency
go get github.com/bloock/go-kit