golang 帮助文档中关于 installsuffix
的描述:
a suffix to use in the name of the package installation directory, in order to keep output separate from default builds.
网上检索到的资料是使当前的输出目录与默认的编译输出目录分离,我试了以下,加与不加该参数,编译输出并没有发现什么区别,在网上摸索了很久也没有找到可以释惑的答案,只好来请教 v 站的老哥了~
平台:Win10 x64, Go 版本:1.11
找到原因了,要 install
才能发现区别