现代版本的Go将配置存储在用户配置目录下的名为"go"的目录中。例如,一个env文件用于存储由go env -w调用设置的Go配置。正如在#65568(评论)中指出的那样,https://go.dev/doc/manage-install#uninstalling上的卸载Go的说明目前没有提到配置目录,这可能会引起困惑。
env
go env -w
noj0wjuj1#
我想解决这个问题。你能把它分配给我吗?
dw1jzc5e2#
谢谢,请继续修改并发送一个包含您建议的修复方案的CL。请查看https://go.dev/doc/contribute。
8xiog9wr3#
Here are the changes that I have made. Please have a look.golang/website#292
6vl6ewon4#
https://go.dev/cl/594275提到了这个问题:_content/doc/manage-install: add a delete Go configs instruction under directory named "go"
_content/doc/manage-install: add a delete Go configs instruction under directory named "go"
4条答案
按热度按时间noj0wjuj1#
我想解决这个问题。你能把它分配给我吗?
dw1jzc5e2#
谢谢,请继续修改并发送一个包含您建议的修复方案的CL。请查看https://go.dev/doc/contribute。
8xiog9wr3#
Here are the changes that I have made. Please have a look.
golang/website#292
6vl6ewon4#
https://go.dev/cl/594275提到了这个问题:
_content/doc/manage-install: add a delete Go configs instruction under directory named "go"