“ go build”不会在golang中生成文件[重复]

“ go build”不会在golang中生成文件[重复],第1张

“ go build”不会在golang中生成文件[重复]

来自

go help build

When the command line specifies a single main package,build writes the resulting executable to output.Otherwise build compiles the packages but discards the results,serving only as a check that the packages can be built.


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/5600353.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-15
下一篇 2022-12-15

发表评论

登录后才能评论

评论列表(0条)

保存