Google Go HelloWorld Example Program

Go is a new language from Google, and here is the first step to learn it:

Google Go Hello World

File : hello.go package main import "fmt" func main() { fmt.Printf("Hello World !!! \n") }

Compiling & Running

8g hello.go 8l hello.8 ./8.out

Output

Hello World !!!

(Obviously :D )

22 Nov, 2009
Comments (0)
You may also like
Tags
On Facebook
Email Newsletter