Golang Hello World
Today we will learn how to write a simple golang hello world program.
package main
import "fmt"
func main() {
fmt.Println("Hello World")
}
You can run it by using golang command line tools.
$ go run hello-world.go
Today we will learn how to write a simple golang hello world program.
package main
import "fmt"
func main() {
fmt.Println("Hello World")
}
You can run it by using golang command line tools.
$ go run hello-world.go