Download Go from 1 (see also 2), and then:
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.23.2.linux-amd64.tar.gz
For updating the binaries installed via go
, use gup
3:
go install github.com/nao1215/gup@latest
$GOPATH/bin/gup update --dry-run
$GOPATH/bin/gup help
See tour directory.
- [o] The Go Blog
- Effective Go
- Codewalk
- See Codewalk: Share Memory By Communicating directory.
It's also always good to look at the annotated code pieces at Go By Example.
See tests directory.