go-*: add Chinese translation (#8266)
This commit is contained in:
20
pages.zh/common/go-clean.md
Normal file
20
pages.zh/common/go-clean.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# go clean
|
||||
|
||||
> 移除目标文件和缓存文件。
|
||||
> 更多信息:<https://golang.org/cmd/go/#hdr-Remove_object_files_and_cached_files>.
|
||||
|
||||
- 只打印移除命令,而不会真正移除任何东西:
|
||||
|
||||
`go clean -n`
|
||||
|
||||
- 删除编译缓存:
|
||||
|
||||
`go clean -cache`
|
||||
|
||||
- 删除所有测试结果缓存:
|
||||
|
||||
`go clean -testcache`
|
||||
|
||||
- 删除模块缓存:
|
||||
|
||||
`go clean -modcache`
|
Reference in New Issue
Block a user