Skip to content

Latest commit

 

History

History
56 lines (47 loc) · 1.31 KB

Readme.md

File metadata and controls

56 lines (47 loc) · 1.31 KB

Adventure with the golang

Sharing and learning with the Golang programming language

Get To setup Go in Your Computer

OSX

  • Using Homebrew
     $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    
  • After that
     $ brew install go --cross-compile-common
    
  • Setup your Path
     $ mkdir $HOME/go
     $ export GOPATH=$HOME/go
     $ open $HOME/.bash_profile
     export GOPATH=$HOME/go
     export PATH=$PATH:$GOPATH/bin
    
  • Install mercurial and bazaar
     $ brew install hg bzr
    

Windows

Linux

Other

  • Useful Tools Installing a few tools Godoc, vet, and Golint

     $ go get golang.org/x/tools/cmd/godoc
     $ go get golang.org/x/tools/cmd/vet
     $ go get github.com/golang/lint/golint
    
  • Officail Resource You can also download in Official resource