摘要:
参考:Tutorial: Create a Go module 1.创建一个module mkdir greetings cd greetings go mod init example.com/greetings greetings.go package greetings import "fmt 阅读全文
摘要:
1.安装和入门 安装、配置以及测试:https://cloud.tencent.com/developer/article/1623121 go的两种运行方式: go build hello.go # 编译得到二进制文件hello go run hello.go # 编译得到二进制,并直接运行二进制 阅读全文