Go – the programming language.

HelloWorld.go file ->

package main
import “fmt”
func main() {
      fmt.Println(“hello world”)
}

Command line usage
C:\Users\HP\Documents\DVLP\AltLangs\GO
λ go run HelloWorld.go
hello world

C:\Users\HP\Documents\DVLP\AltLangs\GO
λ go build HelloWorld.go

C:\Users\HP\Documents\DVLP\AltLangs\GO
λ HelloWorld
hello world

Leave a Reply