# go clean > Remove object files and cached files. > More information: . - Print the remove commands instead of actually removing anything: `go clean -n` - Delete the build cache: `go clean -cache` - Delete all cached test results: `go clean -testcache` - Delete the module cache: `go clean -modcache`