下载地址: https://golang.google.cn/dl/
windows下载
2、C盘新建工作文件夹go,新建文件t.go
package main import "fmt" func main(){ fmt.Println("hello world!") }
3、运行
cd C:\go
go run t.go
输出 hello world!