Cleaning up ${GOPATH}/pkg/
Use go clean -modcache to clean up all the old auto-downloaded Go
modules in ${GOPATH}/pkg/. That’s all you need to know. Rest of the
post gives just the history of how I got there.
Use go clean -modcache to clean up all the old auto-downloaded Go
modules in ${GOPATH}/pkg/. That’s all you need to know. Rest of the
post gives just the history of how I got there.
A little cheat sheet to help remember the Go time formatting syntax.
Follow-up post to my earlier post on octals in Golang – Feedback to reactions that varied from ridicule to helpfulness to empathy.
Someone in the Golang team thought that it would be a good idea to consider all numbers (represented as strings) starting with “0” as Octals.. so “010” is actually 8.. Really?
“Installing” go is simply extracting its release archive, putting it
somewhere in you $HOME and pointing GOROOT and PATH env vars to
it.