Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | doc/codewalk: gofmt pig.go | Russ Cox | 2013-01-31 | 1 | -1/+1 |
| | | | | | | R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7221079 | ||||
* | doc/codewalk/functions.xml: Fix broken function examples | John DeNero | 2012-01-03 | 1 | -3/+0 |
| | | | | | | | | I removed the broken function comparison example and fixed a code highlighting regexp. R=golang-dev, adg CC=golang-dev https://golang.org/cl/5501078 | ||||
* | renaming_4: gofix -r everything/but/src/pkg | Rob Pike | 2011-11-08 | 1 | -1/+1 |
| | | | | | | R=rsc CC=golang-dev https://golang.org/cl/5338043 | ||||
* | A codewalk through a simple program that illustrates several aspects of Go ↵ | John DeNero | 2011-04-07 | 1 | -0/+124 |
functions: function objects, higher-order functions, variadic functions, tail recursion, etc. The example program simulates the game of Pig, a dice game with simple rules but a nontrivial solution. R=adg, rsc, iant2, r CC=golang-dev https://golang.org/cl/4306045 |