discover · compare · collections · requirements · contribute · feed · watching · stats · help with your tokens
adonovan/gopl.io · source
Snapshot 0 · 2026-11-04T12:47:23Z · Go ·
Content fingerprint
f19d999e81b85e32ce66847ce048c59f433683018b133e4d23c2b32e11639af2GitHub description at capture
Example programs from "The Go Programming Language"
README at capture
# 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 <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.<br/> <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png"/></a> 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.