How to clean the obj directory?

Hi guys,
After bootstrapping the golang from source code. I found there is a directory of $GOROOT/pkg/obj. How to remove this directory? I’ve tried with

go tool dist clean

But does not work.

What version of Go are you using? Have you tried go clean --modcache? What files are inside $GOROOT/pkg/obj directory?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.