英文:
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/
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论