Programming Fundamentals/Introduction/Go
Appearance
hello.go
[edit | edit source]// This program displays "Hello world!"
//
// References:
// https://gobyexample.com/hello-world
package main
import "fmt"
func main() {
fmt.Println("Hello world!")
}
Try It
[edit | edit source]Copy and paste the code above into one of the following free online development environments or use your own Go compiler / interpreter / IDE.