0.Lets Start With First Hello world - Programming in GO
0.Lets Start With First Hello world - Go Program
package main
import "fmt"
func main() {
fmt.Println("Hello world!")
}
A complete program is created by linking a single, unimported package called the main package with all the packages it imports, transitively. The main package must have package name main and declare a function main that takes no arguments and returns no value.
func main() { … }