Set up and maintain Go projects and tooling
4 articles
-
Set up and maintain Go projects and tooling
How to Download Go Module Dependencies and Use the Module Cache
Run a test to fetch dependencies it needs, use go mod download to prefetch modules, and inspect the cache location with go env.
-
Set up and maintain Go projects and tooling
Install the Go Toolchain and Configure PATH, GOROOT, and GOPATH on Linux, macOS, and Windows
Install Go using the standard installer for your platform, configure PATH, verify the selected binary, and initialize a module for your first project.
-
Set up and maintain Go projects and tooling
Managing Go Versions and Toolchains Across Projects
Use Go 1.21 or newer to declare each module’s minimum language version and let the go command select the toolchain requested by that project.
-
Set up and maintain Go projects and tooling
Set Up and Configure golangci-lint for a Go Project
Install a known golangci-lint release, create a v2 configuration, verify enabled linters, and keep local and CI commands aligned.




