RSSAmplifier

A Scripter's Notes · Jun 25, 2022

Cleaning up ${GOPATH}/pkg/

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

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. Table of Contents The $GOPATH directory The disk space issue Write-protected ${GOPATH}/pkg/ Cleaning up “modcache” Wrapping up References As I mentioned in the post description above, the solution to…

Read on scripter.co

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.