go下载地址:https://golang.org/dl/
名:GOROOT 值:C:\Go\
名:PATH 值:%GOROOT%\bin
编写test.go文件
package main import ( "fmt" ) func main() { fmt.Println("Hello World!") }
在cmd下运行
go run test.go
查看输出结果
阅读: 20158
阅读: 17301 评论:1
阅读: 16498
阅读: 16469
阅读: 15839
阅读: 15609
扫扫关注微信