commands.sh

go get

all

Add a dependency package, or download packages in legacy GOPATH mode.

More info →

Examples (3)

Add a specified package to `go.mod` in module-mode or install the package in GOPATH-mode

go get example.com/pkg

Modify the package with a given version in module-aware mode

Remove a specified package

go get example.com/pkg@none
made by @shridhargupta | data from tldr-pages