Hello World from OSS Silicon Valley


HowToUse/Golang/1.2.1


_ Prerequisite

_ Install&Setup

Step.1
Install golang.
$ sudo apt-get install golang
Step.2
Set path env
$ su -
# vi /etc/profile
export PATH=$PATH:/usr/bin/go/bin
Step.3
Check if go can run.
$ go version

_ HowToUse

Step.1
Create hello world script.
$ vi hello.go
package main

import "fmt"

func main() {
       fmt.Println("hello, world\n")
}

_ Author

S.Yatsuzuka