In this example, you will use Cloud Native Build (CNB) to implement "go-private-repo-server" as a private Go repository dependency.
git config --global url."https://${CNB_TOKEN_USER_NAME}:${CNB_TOKEN}@cnb.cool".insteadOf "https://cnb.cool"
export GOPRIVATE=e.coding.net,cnb.cool
export GONOSUMDB=e.coding.net,cnb.cool
machine cnb.cool login cnb password xxxxxxxx