# go clean > Remove object files and cached files. > More information: . - Print the remove commands only: `go clean -n` - Remove build cache: `go clean -cache` - Remove cached test results: `go clean -testcache` - Remove module cache: `go clean -modcache`