Using Go Modules
A module is a collection of
Go packages
stored in a file tree with a
go.mod
file at its root
The
go.mod
file defines the module’s
module path
, which is also the import path used for the root directory, and its
dependency requirements
Modules are installed on the
GOPATH
direcory, specifically in
$GOPATH/pkg/mod
directory, which is called the module cache
Interactive Graph
Table Of Contents
Using Go Modules