命令go build和go install编译文件到二进制文件。是否go run编译或解释文件?我在网上找不到解释,可能已经错过了。欣赏指针。谢谢!
go build
go install
go run
它或多或少相当于跑步 go build X.go -o /tmp/random-tmp-folder/exe && /tmp/random-tmp- folder/exe
go build X.go -o /tmp/random-tmp-folder/exe && /tmp/random-tmp- folder/exe