Using Go Modules
Introductory guide to module basics, dependency management, and repository setup.
Introductory guide to module basics, dependency management, and repository setup.
- Author: Jean Barkhuysen and Tyler Bui-Palsulich
- Authority: primary
- Kind: blog
- URL: https://go.dev/blog/using-go-modules
What it covers
- module initialization
- dependency management basics
- go.mod workflow
Why authoritative
Official module introduction from Go team authors.
Use when
- how do Go modules work
- should this repo be a Go module
- what belongs in go.mod
Keywords
- modules, go.mod, dependencies, module basics, versioning