This guide will walk you through the process of creating a Go Modules project, pushing it to Gemfury, and then importing it as a dependency.
Historically, there are a number of ways to create and distribute Go projects. This guide and our service focuses on Go Modules. And for simplicity, we will work outside of $GOPATH.
Before you get started, be sure you have the following:
Although we like to use the term “package” at Gemfury to describe top-level project archives, the Go community prefers the term “module”. While a “package” in Go is an importable library inside of a module. So, a single Go module will contain one or more Go packages.