GoLang是否有命令行界面(CLI)?

huangapple go评论85阅读模式
英文:

Is there a CLI (Command Line Interface) for GoLang?

问题

作为你的中文翻译,以下是翻译好的内容:

完全是一个新手的 Golang 用户,我没有看到有命令行工具,但只是想确认我没有忽略它。似乎所有的东西都会编译成一个可以运行的二进制文件,即使在调试时也是如此?

英文:

Totally new golang user here and I don't see a CLI tool but just wanted to make sure I wasn't overlooking it. It appears everything just compiles down to a binary that you can run, even when debugging?

答案1

得分: 2

Go语言没有必须在调用Go编写的应用程序时使用的CLI。有一个go命令,它是“...一套用于构建和处理Go源代码的程序”。您可以在命令文档中找到更多关于此的信息。

英文:

Go does not have a CLI that must be used when invoking a application written in Go. There is a go command that is "... a suite of programs to build and process Go source code". You can find more information about this in the command documentation

答案2

得分: 0

是的,有的,你可以在这里查看:
https://thenewstack.io/cli-command-line-programming-with-go/

英文:

Yes there is, you can check it out here
https://thenewstack.io/cli-command-line-programming-with-go/

huangapple
  • 本文由 发表于 2017年6月21日 03:27:10
  • 转载请务必保留本文链接:https://go.coder-hub.com/44661495.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定