Resolve Go Projects

JFrog Artifactory Documentation

JFrog Artifactory
Content Type
User Guide

Resolving Go Only Via Local or Virtual Repositories

Artifactory only supports resolution of Go packages from virtual Go repositories. To resolve Go from other local or remote Go repositories, you need to aggregate them in a virtual Go repository.

go.mod is a metadata file that describes a Go package. It contains the package's module name and a list of its dependencies.

To allow successful resolution of a package, the Go client requires a corresponding go.mod file to be found in the same folder.

For example, in this Hello Worlds Go project, the go.mod file specifies a module, with a single dependency, v1.5.2.


require v1.5.2