Hacker News new | ask | show | jobs
by Groxx 1213 days ago
Building means downloading dependencies means an ever-growing module cache with no ability to prune it.
1 comments

    rm -rf ~/go
once a year ought to do it
rm -rf ~/go is not recommended.

1. This will blow away any programs in ~/go/bin

2. Nothing in ~/go/pkg/mod has +w, so the rm -rf will not work anyway. Try

  go clean -modcache