![“ go build”不会在golang中生成文件[重复],第1张 “ go build”不会在golang中生成文件[重复],第1张](/aiimages/%E2%80%9C+go+build%E2%80%9D%E4%B8%8D%E4%BC%9A%E5%9C%A8golang%E4%B8%AD%E7%94%9F%E6%88%90%E6%96%87%E4%BB%B6%5B%E9%87%8D%E5%A4%8D%5D.png)
来自
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.
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)