22-10-2010, 11:54 AM
[attachment=6726]
[attachment=6727]
GO PROGRAMMING LANGUAGE
Introduction
This document is a tutorial introduction to the basics of the Go programming language, intended for programmers familiar with C or C++. It is not a comprehensive guide to the language; at the moment the document closest to that is the language specification. After you've read this tutorial, you might want to look at Effective Go, which digs deeper into how the language is used. Also, slides from a 3-day course about Go are available: Day 1, Day 2, Day 3.
The presentation here proceeds through a series of modest programs to illustrate key features of the language. All the programs work (at time of writing) and are checked into the repository in the directory /doc/progs/.
Program snippets are annotated with the line number in the original file; for cleanliness, blank lines remain blank.