我如何开始使用Go? [关闭]

Basically, the title already says it all: How do I get started with Go? Of course I know the Go website and the documentation that is there, but what other resources are there?

Any good tutorials, videos, blogs, books, …?

Start with http://tour.golang.org. It will guide you through the language features and differences.

Then install it locally and try to port something simple you've written in another language.

The most important resources are the standard package docs and sites like http://godoc.org/ which provides an online documentation generator for any public code repositories.

The document Effective Go is also very useful for explanations of how to use the various language features.

There is a collection of videos on the Go wiki.

For blogs, try http://blog.golang.org/ , http://dave.cheney.net/ , http://labix.org/ and http://www.goinggo.net/ for starters.

Unfortunately, the Go books that are out there are aiming at a moving target so they struggle to be comprehensive. I'd recommend sticking with the official package docs which are usually replete with code examples.

A good tip for idiomatic code is to read the package source files, especially the *_test.go files as they usually provide nice examples of most of the ways the package can be used. This is, as an aside, a wonderful side-effect to comprehensive package tests.