/adventure-with-the-golang

This repository contains the basics of the language of Go programming, which I learned

Primary LanguageGo

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