- 16 Feb, 2012 7 commits
-
-
David Symonds authored
Update #2573. R=r CC=golang-dev https://golang.org/cl/5656071
-
Andrew Gerrand authored
R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/5677060
-
Rob Pike authored
It depended on old behavior of functions in structs. Solved by adding a boolean method to check .Run != nil. R=golang-dev, adg, r, rsc CC=golang-dev https://golang.org/cl/5674062
-
Andrew Gerrand authored
R=bradfitz CC=golang-dev https://golang.org/cl/5673061
-
Andrew Gerrand authored
R=gri CC=golang-dev https://golang.org/cl/5677061
-
Andrew Gerrand authored
go/doc: move Examples to go/ast cmd/go: use go/doc to read examples src/pkg: update examples to use new convention This is to make whole file examples more readable. When presented as a complete function, preceding an Example with its output is confusing. The new convention is to put the expected output in the final comment of the example, preceded by the string "output:" (case insensitive). An idiomatic example looks like this: // This example demonstrates Foo by doing bar and quux. func ExampleFoo() { // example body that does bar and quux // Output: // example output } R=rsc, gri CC=golang-dev https://golang.org/cl/5673053
-
Alex Brainman authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5656070
-
- 15 Feb, 2012 33 commits
-
-
Alex Brainman authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5672061
-
Alex Brainman authored
R=bradfitz, rsc CC=golang-dev https://golang.org/cl/5673048
-
Rémy Oudompheng authored
Fixes #3019. R=golang-dev, rsc CC=golang-dev, remy https://golang.org/cl/5674044
-
Brad Fitzpatrick authored
Fixes #3022 R=golang-dev, r CC=golang-dev https://golang.org/cl/5674060
-
Brad Fitzpatrick authored
R=golang-dev, dsymonds, adg, rogpeppe, bradfitz CC=golang-dev https://golang.org/cl/5673052
-
Andrew Gerrand authored
Fixes #2896. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5677047
-
Brad Fitzpatrick authored
Whoops. Consume the body of the first request before making the subsequent /quit request. R=golang-dev, untheoretic CC=golang-dev https://golang.org/cl/5674054
-
Robert Griesemer authored
Also: Simplified handling of selector expressions. As a result, complicated multi-line expressions containing selectors and calls/indices with arguments broken accross lines don't get indented the same way as before, but the change is minimal (see tests) and there's no such code in the std library. It seems a worthwhile compromise given the much simpler code. Applied gofmt -w $GOROOT/src $GOROOT/misc . Fixes #1847. R=rsc CC=golang-dev https://golang.org/cl/5675062
-
David du Colombier authored
R=rsc CC=golang-dev https://golang.org/cl/5677053
-
Russ Cox authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5672055
-
Shenghou Ma authored
Fixes #3023. R=rsc CC=golang-dev https://golang.org/cl/5674055
-
Shenghou Ma authored
Previous CL (5674043) omit the case where runtime/cgo itself is out-of-date. Fixes #2936 (again). R=rsc CC=golang-dev https://golang.org/cl/5674048
-
Russ Cox authored
Makes it possible to run GOARCH=amd64 make.bash GOARCH=386 make.bash --no-clean to avoid deleting some of the work done by the first one. R=golang-dev CC=golang-dev https://golang.org/cl/5673056
-
Ian Lance Taylor authored
Similar to bug190, but without recursive reference. Crashed gccgo. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5672053
-
Mikio Hara authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5672052
-
Alex Brainman authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5672050
-
Shenghou Ma authored
CL 5666043 fixed the same checking for 5g. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5666045
-
Brad Fitzpatrick authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5671051
-
Albert Strasheim authored
R=rsc, iant, iant CC=golang-dev https://golang.org/cl/5656058
-
Nigel Tao authored
return (*Template, error), not just *Template. Fixes #2757. R=r CC=golang-dev https://golang.org/cl/5665044
-
Rob Pike authored
Just an oversight they didn't work and easy to address. Fixes #3025. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5656059
-
Alex Brainman authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5671049
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5676046
-
Nigel Tao authored
Fixes #2979. R=rsc, r CC=golang-dev https://golang.org/cl/5664046
-
Yasuhiro Matsumoto authored
R=golang-dev, mpimenov, alex.brainman CC=golang-dev https://golang.org/cl/5667045
-
Brad Fitzpatrick authored
R=golang-dev, adg, r, bradfitz CC=golang-dev https://golang.org/cl/5675054
-
Andrew Gerrand authored
R=bradfitz, dsymonds CC=golang-dev https://golang.org/cl/5675056
-
Andrew Gerrand authored
R=golang-dev, dsymonds, r, mikioh.mikioh CC=golang-dev https://golang.org/cl/5675055
-
Lai Jiangshan authored
use ':' instead of ';' to keep consistency with the other panic strings R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/5666048
-
Andrew Gerrand authored
R=r, bradfitz CC=golang-dev, rogpeppe https://golang.org/cl/5673049
-
Lai Jiangshan authored
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
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5677046
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5649087
-