logo image

Go language program to print Hello World!

Views: 19

Following program shows you how to print Hello World!. In this program we use fmt.Println() to print hello world

package main

import "fmt"

func main() {
  fmt.Println("Hello World")
}

Output:

Hello World!