summaryrefslogtreecommitdiff
path: root/doc/codewalk
Commit message (Collapse)AuthorAgeFilesLines
* all: make copyright headers consistent with one space after periodEmmanuel Odeke2016-05-023-3/+3
| | | | | | | | | | | | | | | | | | Follows suit with https://go-review.googlesource.com/#/c/20111. Generated by running $ grep -R 'Go Authors. All' * | cut -d":" -f1 | while read F;do perl -pi -e 's/Go Authors. All/Go Authors. All/g' $F;done The code in cmd/internal/unvendor wasn't changed. Fixes #15213 Change-Id: I4f235cee0a62ec435f9e8540a1ec08ae03b1a75f Reviewed-on: https://go-review.googlesource.com/21819 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
* doc: rewrite references to plan9.bell-labs.com to 9p.ioAndrew Gerrand2016-02-041-1/+1
| | | | | | | | | | | | The plan9.bell-labs.com site has fallen into disrepair. We'll instead use the site maintained by contributor David du Colombier. Fixes #14233 Change-Id: I0c702e5d3b091cccd42b288ea32f34d507a4733d Reviewed-on: https://go-review.googlesource.com/19240 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: David du Colombier <0intro@gmail.com>
* doc: fix typo in sharemem codewalkEmil Hessman2014-05-211-1/+1
| | | | | | | LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/98460045
* doc: fix small HTML problemsShenghou Ma2013-10-121-1/+1
| | | | | | R=golang-dev, dave CC=golang-dev https://golang.org/cl/14629043
* doc: don't invoke go build with -o /dev/null during testRobert Daniel Kortschak2013-08-011-2/+2
| | | | | | | | Fixes #5998. R=golang-dev, khr CC=golang-dev https://golang.org/cl/12149043
* doc: don't block page load on JavaScript fetchAndrew Gerrand2013-07-301-1/+1
| | | | | | R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/12050045
* doc/codewalk: test source codeAndrew Gerrand2013-07-301-0/+21
| | | | | | | | Fixes #2648. R=golang-dev, r CC=golang-dev https://golang.org/cl/11331043
* all: fix typosShenghou Ma2013-04-241-1/+1
| | | | | | R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8896045
* doc/codewalk/markov: fix slice error in descriptionRob Pike2013-04-011-1/+1
| | | | | | | | Fixes #5176. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8118046
* doc/codewalk: gofmt pig.goRuss Cox2013-01-311-1/+1
| | | | | | R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7221079
* doc/codewalk/markov: fix the highlight range of the step "The NewChain ↵Oling Cat2012-10-181-1/+1
| | | | | | | | constructor function". R=r, minux.ma, adg CC=golang-dev https://golang.org/cl/6710044
* doc/codewalk: make it work with jQuery 1.8.2Shenghou Ma2012-10-051-1/+1
| | | | | | | | so that it could work with the bundled jQuery. R=adg CC=golang-dev https://golang.org/cl/6592073
* doc/codewalk/markov: fix syntax and broken linkShenghou Ma2012-03-301-4/+4
| | | | | | | | Part of issue 3424. R=golang-dev, r CC=golang-dev https://golang.org/cl/5955050
* codewalk/sharemem.xml: fix references to filesRob Pike2012-03-241-4/+4
| | | | | | R=golang-dev, iant CC=golang-dev https://golang.org/cl/5877064
* doc: replace mentions of 6g with gc or the go commandAndrew Gerrand2012-03-201-7/+6
| | | | | | R=golang-dev, r CC=golang-dev https://golang.org/cl/5846070
* doc: update linksShenghou Ma2012-03-071-1/+1
| | | | | | R=golang-dev, adg CC=golang-dev https://golang.org/cl/5754051
* doc: fix codewalk/markov.goLai Jiangshan2012-02-151-2/+2
| | | | | | | | | | When I build it, I got: /home/njubee/work/golang/doc/codewalk/markov.go:124: undefined: time.Nanoseconds time.Nanoseconds() does not exist now, use time.Now().UnixNano() instead R=golang-dev, adg CC=golang-dev https://golang.org/cl/5668044
* doc/codewalk: update urlpoll to use time.Duration.Stefan Nilsson2012-01-191-13/+12
| | | | | | R=adg CC=golang-dev https://golang.org/cl/5545061
* doc/codewalk/functions.xml: Fix broken function examplesJohn DeNero2012-01-032-14/+1
| | | | | | | | 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/pkgRob Pike2011-11-083-3/+3
| | | | | | R=rsc CC=golang-dev https://golang.org/cl/5338043
* all: rename os.EOF to io.EOF in various non-code contextsVincent Vanackere2011-11-031-2/+2
| | | | | | R=golang-dev, r CC=golang-dev https://golang.org/cl/5334050
* non-pkg: gofix -r error -force=errorRuss Cox2011-11-011-1/+1
| | | | | | R=golang-dev, iant, r, r CC=golang-dev https://golang.org/cl/5307066
* doc/codewalk: new Markov chain codewalkAndrew Gerrand2011-08-172-0/+438
| | | | | | R=gri, r, rsc CC=golang-dev https://golang.org/cl/4891041
* A codewalk through a simple program that illustrates several aspects of Go ↵John DeNero2011-04-072-0/+239
| | | | | | | | 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
* doc/codewalk: update for changes in log packageAndrey Mirtchovski2010-11-081-3/+3
| | | | | | R=adg, r CC=golang-dev https://golang.org/cl/2984041
* doc/codewalk: Share Memory By CommunicatingAndrew Gerrand2010-06-302-0/+298
| | | | | | R=r, rsc CC=golang-dev https://golang.org/cl/1727043
* godoc: add codewalk supportRuss Cox2010-04-264-0/+663
R=adg, gri CC=golang-dev, r https://golang.org/cl/1008042