From 0f22991cb6ebb51db5bbb688f5b5d3a09e986c97 Mon Sep 17 00:00:00 2001 From: gonejack <igonejack@gmail.com> Date: Mon, 11 May 2020 11:50:47 +0800 Subject: [PATCH] go-clean: apply suggestions Signed-off-by: gonejack <igonejack@gmail.com> --- pages/common/go-clean.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/pages/common/go-clean.md b/pages/common/go-clean.md index 44a42ee7e1..c704ee850e 100644 --- a/pages/common/go-clean.md +++ b/pages/common/go-clean.md @@ -1,24 +1,20 @@ # go clean -> Tool for removing object files and cached files. -> More information: <https://golang.org/cmd/go/>. +> Remove object files and cached files. +> More information: <https://golang.org/cmd/go/#hdr-Remove_object_files_and_cached_files>. - Print the remove commands only: `go clean -n` -- Remove go build cache: +- Remove build cache: `go clean -cache` -- Remove all test results in the go build cache : +- Remove cached test results: `go clean -testcache` -- Remove go module download cache: +- Remove module cache: `go clean -modcache` - -- Remove all: - -`go clean -cache -testcache -modcache -i -r`