Monday, January 4, 2016

GoLang


Go Settings on Windows / Linux

set GOROOT=C:\Go\
set GOPATH=C:\GoPath\
set GOBIN=%GOPATH%/bin
set PATH=%PATH%;C:\Go\bin;%GOBIN%

export GOROOT=$HOME/go
export GOBIN=$GOROOT/bin
export GOARCH=amd64
export GOOS=linux
export PATH=$GOBIN:$PATH

then go install hello.go, hello.exe will be installed into GOBIN

Miscellaneous

A closer look at go and nodejs
Welcome Go, and Farewell Node.js   by TJHoloWayChuk
Good Tutorial: Build Web Apps with Go Language (golang)
General discussion of GOLang
Google's APP Engine Supports: Python   PHP   Java   GO
Restful WebService
  • Learn industry standard language 
  • Learn many language, don't be religious about it, be pragmatic. Languages are tools, nothing more
  • Include one language that supports class abstractions (like Java or C++)
  • one that supports functional abstraction (like Lisp or ML)
  • one that supports syntactic abstraction (like Lisp)
  • one that supports declarative specifications (like Prolog or C++ templates)
  • one that supports coroutines (like Icon or Scheme)
  • and one that supports parallelism (like Sisal)
  • Learn at least a half dozen programming languages
  • projecteuler.net is a good place to find increasingly difficult problems to solve and doesn't care what language you are using
  • Learn one of these, and you'll always have a job
    • Javascript/CSS/HTML
    • Java / C++  / C# /  Python
    • Go  An Introduction.mp4:  go test ...   gocov test ....
  • Go Links
    • golang.org
    • tour.golang.org
    • godoc.org

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home