go get

suggest change

go get changes dependency versions in the current module's go.mod file. It can add, upgrade, downgrade, or remove a dependency:

go get github.com/gomarkdown/markdown@latest
go get golang.org/x/text@v0.32.0
go get golang.org/x/text@none

The downloaded module source is stored in Go's module cache rather than copied into $GOPATH/src. Commit the resulting go.mod and go.sum changes.

To install an executable command, use go install with an explicit version:

go install golang.org/x/tools/gopls@latest

That command installs the executable in GOBIN, or in GOPATH/bin when GOBIN is unset, without changing the current module.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents