Go language program to print a multiline Hello World!

Views: 96   

Following program shows you how to print a multiline Hello World!.
In this program we use \n for multi lines

package main

import "fmt"

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

Output:

Hello 
World!
On By