gopl-zh.github.com/vendor/gopl.io
2016-01-20 09:40:44 +08:00
..
ch1 good good study, day day up! 2015-12-09 15:45:11 +08:00
ch2 good good study, day day up! 2015-12-09 15:45:11 +08:00
ch3 good good study, day day up! 2015-12-09 15:45:11 +08:00
ch4 sync vendor 2016-01-20 09:40:44 +08:00
ch5 good good study, day day up! 2015-12-09 15:45:11 +08:00
ch6 good good study, day day up! 2015-12-09 15:45:11 +08:00
ch7 good good study, day day up! 2015-12-09 15:45:11 +08:00
ch8 good good study, day day up! 2015-12-09 15:45:11 +08:00
ch9 good good study, day day up! 2015-12-09 15:45:11 +08:00
ch10 good good study, day day up! 2015-12-09 15:45:11 +08:00
ch11 good good study, day day up! 2015-12-09 15:45:11 +08:00
ch12 good good study, day day up! 2015-12-09 15:45:11 +08:00
ch13 good good study, day day up! 2015-12-09 15:45:11 +08:00
README.md good good study, day day up! 2015-12-09 15:45:11 +08:00

The Go Programming Language

This repository provides the downloadable example programs for the book, "The Go Programming Language"; see http://www.gopl.io.

These example programs are licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Creative Commons License

You can download, build, and run the programs with the following commands:

$ export GOPATH=$HOME/gobook            # choose workspace directory
$ go get gopl.io/ch1/helloworld         # fetch, build, install
$ $GOPATH/bin/helloworld                # run
Hello, 世界

Many of the programs contain comments of the form //!+ and //!-. These comments bracket the parts of the programs that are excerpted in the book; you can safely ignore them. In a few cases, programs have been reformatted in an unnatural way so that they can be presented in stages in the book.