OneCompiler

Go language program to print Hello World!

629

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!