Programming Fundamentals/Introduction/Go

From Wikiversity
Jump to navigation Jump to search

hello.go[edit | edit source]

// This program displays "Hello world!"
// References:

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.

See Also[edit | edit source]