This is a creation in Article, where the information may have evolved or changed. From Asta Xie share http://www.zhihu.com/question/23486344/answer/24770195
I think learning a language is the most important thing is to do three, first look at the basic knowledge, the second study copy code, the third study write code
1th, many people feel that come up to write, but your basic things are not mastered, how to write it? Make haste, so the basic things must be mastered first. Here are a few basic introductory materials to recommend:
- / http tour.golang.org/# 1
- The MIKESPOOK/LEARNING-GO-ZH-CN of Sansing translation GitHub
- Go by Example
I think you can begin to copy the code after you have mastered these basics, and if you have previous experience in PHP development, then maybe I wrote this book to help you understand Golang . https:// Github.com/astaxie/buil D-web-application-with-golang
2nd, we often start to write code are no idea, also do not know, but we can imitate others to write code, the Shanghai proverb often say "eat big, with big, eliminate big", we are "see Code, copy code, and finally write code." Here are some entry-level code to see how to learn:
- Web.go-quickstart is very simple, is to learn how his routes are implemented, how to write their own routes
- Icub3d/home Road GitHub This is a GO+ANGULARJS implementation, see How to Do API application
Finally, I listed you can refer to the implementation of some of the functions, I originally trained our fight Tiger class students are using these to study together.
- Log analysis
- IP Library Analysis
- Manage Background View analysis log
3rd, write their own code, this time is already have a certain understanding of Golang, then we can start to do their own projects, do the project most want is rapid development, then I recommend you
- https:// Github.com/astaxie/beeg o Use the Beego framework to quickly develop your Web or API application
- use Docker for virtualization
- skynetservices/skynet GITHUB&NBSP Learning Distributed
- coreos/etcd GITHUB  Distributed Applications
This stage is to find all kinds of things with Golang to write, write more will understand more and more deeply.