How To Work With Private Go Repositories
Go works seamlessly when the code that you are working with resides in public repositories. However, suppose you maintain your projects in private repositories. In that case, you need to tweak your environment a little to be able to work with your private Go modules.