golang快速入门-01-golang之HelloWorld

编译和构建

go build test.go

 

运行

go run test.go

1 package main
2 import "fmt"
3 func main() 
4 {
5     fmt.Println(“HelloWorld”);
6 }

 

posted @ 2021-03-17 13:32  从程序员到CTO  阅读(65)  评论(0)    收藏  举报
交流加我QQ:39667545