“ go build”不会在golang中生成文件[重复]
我曾经go build生成文件。但是我只能生成main,这意味着什么都不生成就可以go build main.go工作go builddao.go?
我如何产生dao?
回答:
来自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.
以上是 “ go build”不会在golang中生成文件[重复] 的全部内容, 来源链接: utcz.com/qa/401652.html



