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.

Introduction

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.

In this lecture, you’ll learn:

  • How to version and export Go modules.
  • How to import Go modules.
  • And how to configure your system to allow importing private Go modules.

Lecture

Let’s jump right in: