13 lines
296 B
Go
13 lines
296 B
Go
package main // Here's an example Go program.
|
|
|
|
import "fmt"
|
|
|
|
func main() {
|
|
fmt.Println("Hello world") // It prints `Hello world`.
|
|
}
|
|
|
|
/*
|
|
$ go run hello-world.go // Put this code in hello-world.go,
|
|
Hello world // then use `go run` to run it.
|
|
*/
|