diff --git a/pages/go.mod.tsx b/pages/go.mod.tsx index 184edf6..b650476 100644 --- a/pages/go.mod.tsx +++ b/pages/go.mod.tsx @@ -63,6 +63,8 @@ const GoModGuide: FC = () => { go mod tidy # organize and clean up go.mod and go.sum
# download deps into module cache
go mod download # download deps into module cache
+
# clean deps from module cache
+ go clean -cache -modcache # clean deps from module cache
# initialize new module
go mod init github.com/path/to/module # initialize new module
# why is the module a dependency?