This is a creation in Article, where the information may have evolved or changed.
1. Download
Official website Download: https://code.google.com/p/go/wiki/Downloads?tm=2
2. Installation
I downloaded the 1.2.2pkg version, directly click Install can.
3. Configuration
Goroot=/usr/local/go gopath= $home/go export path= $PATH: $GOROOT/bin
4. Testing
Package Mainimport "FMT" Func Main () { fmt. Printf ("Hello,world")}
The results are as follows:
➜ go go run hello.gohello,world%
5. Supplementary information
Reference:
Https://github.com/wonderfo/wonderfogo/wiki
http://studygolang.com/
Http://blog.sciencenet.cn/blog-830496-689520.html
Search engine
- official website Search Site Here Search the official code and content (search box in the upper right corner)
- CATV Search point here Search Go official website, project, Forum and CAT-V Network (many resources, such as IRC logs, etc.)
Official resources
- Version Installation
- Official Homepage (released version weekly)
- Installation Instructions (published version weekly translation download)
- Release version (source code history released 2012-03-28 GO1 based on Weekly2012-03-27 announced posts)
- Go1 related documents (announcing the post-translation instructions compatible instructions)
- Go1 Early Documents (blog post plan feedback posts)
- version Weekly (source history released in 2012-03-27)
- Build Status View
- GAE-SDK (Download release 2012-03-29 1.6.4 announced blog post)
- Reference Manuals
- Standard Package (published version weekly translation)
- Command Tools (published version weekly 1 translation 2)
- Language Specification (published version weekly 1 translation 2)
- Community Projects (Category View)
- Learning Materials
- Official Blog Url
- Community Wiki Url
- FAQ (published version weekly translation)
- Go online Run (Run share chrome plugin)
- Go Language Tour (English version of the source translation 1 translation 2 Chinese version)
- go language Efficient programming (Release weekly 1 translations 2 3)
- How to write a go program (published version weekly 1 translation 2)
- about the Go command (released version weekly)
- Language memory Model (published version weekly translation)
- debugging Go code with GDB (released version weekly)
- codewalks: Code walk (released version weekly)
- develop Gae with Go (Overview-Introduction to brief tutorial run-time environment)
- Project development
- Go Project (Home Build Status Source Browse Submit log Contribution criteria contributor)
- Go Issues (Submit all Windows for outside help)
- Gccgo Front End (Home installation Use contribution description)
- Mailing list
- Golang-nuts (discussion with Go development)
- Golang-china (discussion with go development, all Chinese brothers)
- Golang-dev (Discussion go self development)
- Golang-checkins (Collection go submission information)
- Golang-announce (Notifications released by Go release)
- Google-appengine-go (Discuss Gae's go support)
- Other resources
- IRC discussion Channel
- @go_nuts at Twitter
- Google +
Cat-v
- Book Articles lecture IRC logs
- Related development tools
- Support for Go editor
- Products developed with Go
- C Library bound with CGO
- Libraries developed directly with Go
- Organizations that use Go
- All parties evaluate GO development
- University Go training Course situation
- Other implementations of the Go language
- Go-supported CPU architectures
- Operating systems supported by Go
- installation packages under each operating system
Website
- Reddit votes
- StackOverflow Quiz
- Go Language wiki
- Go Language Chinese Translation project
- Ac-me
- Go Language Chinese Forum
- Go Language Learning Corner
- Gopher Times
Blog
- Shunxing Cedar Howardfan Cloud Wind Xu Xiwei lvyi Bianjiang dccmx Monnand
- Liu Hongqing Beta Bear linxs Technology Bo Chengang Mr Wang Crane centerless Cloud Allendang