We are converting our internal codebase from the dep dependency manager to go modules (vgo or built in with go1.11.2). Imagine we have code like th
dep
vgo
I use ls-remote git command to help resolve private repo tags and go get after it.
$ go env GO111MODULE=on $ go env GOPRIVATE=yourprivaterepo.com $ git ls-remote -q https://yourprivaterepo.com/yourproject.git $ go get