Programming Fundamentals/Introduction/Go

From Wikiversity
Jump to navigation Jump to search

hello.go[edit]

// This program displays "Hello world!"
//
// References:
//     https://gobyexample.com/hello-world

package main

import "fmt"

func main() {
    fmt.Println("Hello world!")
}

Try It[edit]

Copy and paste the code above into one of the following free online development environments or use your own Go compiler / interpreter / IDE.

See Also[edit]