Go Example 1


mkdir -p $GOPATH/src/github.com/mohan/whatsup

cat $GOPATH/src/github.com/mohan/whatsup/whatsup.go
```
package main

import "fmt"

func main() {
    fmt.Println("what up dude!")
}
```

go install github.com/mohan/whatsup

cd $HOME/programming/go/bin
ls
hello  whatsup
./whatsup 
what up dude!

Golang Main Page