go

管理 Go 源代码的工具。 此命令也有关于其子命令的文件,例如:build. 更多信息:https://go.dev/.

go get {{路径/到/包}}

go run {{文件}}.go

go build -o {{可执行文件}} {{文件}}.go

go build

go test

go install

go mod init {{模块}}