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 }
编译和构建
go build test.go
运行
go run test.go
1 package main 2 import "fmt" 3 func main() 4 { 5 fmt.Println(“HelloWorld”); 6 }