Hello World from OSS Silicon Valley


HowToUse/Golang/1.2.1


  • The added line is THIS COLOR.
  • The deleted line is THIS COLOR.
#contents

*Prerequisite [#ke71fb81]
-Ubuntu Server installation (You can refer [[Overall/UbuntuServer]])

*Install&Setup [#z6068ecd]
: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 [#rf6a65f9]
:Step.1|Create hello world script.

 $ vi hello.go

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

*Author [#c6ad7a7d]
S.Yatsuzuka