| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/5517044
|
|
|
|
|
|
| |
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/5502060
|
|
|
|
|
|
| |
R=rsc
CC=golang-dev
https://golang.org/cl/5477077
|
|
|
|
|
|
|
|
|
|
|
|
| |
Originally published on The Go Programming Language Blog, July 12, 2011.
http://blog.golang.org/2011/07/error-handling-and-go.html
Update #2547
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5475060
|
|
|
|
|
|
| |
R=golang-dev, fullung, dsymonds, r, adg
CC=golang-dev
https://golang.org/cl/5477056
|
|
|
|
|
|
| |
R=golang-dev, r, alex.brainman, r
CC=golang-dev
https://golang.org/cl/5479069
|
|
|
|
|
|
|
|
|
|
|
|
| |
Originally published on The Go Programming Language Blog, August 4 2010.
http://blog.golang.org/2010/08/defer-panic-and-recover.html
Update #2547
R=golang-dev, r, r
CC=golang-dev
https://golang.org/cl/5479053
|
|
|
|
|
|
| |
R=rsc
CC=golang-dev
https://golang.org/cl/5478047
|
|
|
|
|
|
| |
R=rsc, adg, r
CC=golang-dev
https://golang.org/cl/5477044
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL is in part a proposal for how to write these sections:
- Brief discussion of change
- No attempt to analyze the thinking about it
- Old code
- New code, runnable if possible
- How to update old programs
R=golang-dev, remyoudompheng, gri, adg
CC=golang-dev
https://golang.org/cl/5454044
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The special case in the spec is that you can take the
address of a composite literal using the & operator.
A composite literal is not, however, generally addressable,
and the slice operator requires an addressable argument,
so [3]int{1,2,3}[:] is invalid. This tutorial code and one bug
report are the only places in the tree where it appears.
R=r, gri
CC=golang-dev
https://golang.org/cl/5437120
|
|
|
|
|
|
| |
R=rsc
CC=golang-dev
https://golang.org/cl/5376089
|
|
|
|
|
|
|
|
|
|
|
| |
- syscall (not os) now defines the Errno type.
- the low-level assembly functions Syscall, Syscall6, and so on
return Errno, not uintptr
- syscall wrappers all return error, not uintptr.
R=golang-dev, mikioh.mikioh, r, alex.brainman
CC=golang-dev
https://golang.org/cl/5372080
|
|
|
|
|
|
| |
R=golang-dev, adg, gri
CC=golang-dev
https://golang.org/cl/5370058
|
|
|
|
|
|
| |
R=rsc
CC=golang-dev
https://golang.org/cl/5338043
|
|
|
|
|
|
| |
R=golang-dev, iant, r, r
CC=golang-dev
https://golang.org/cl/5307066
|
|
|
|
|
|
| |
R=adg, rsc
CC=golang-dev
https://golang.org/cl/5316068
|
|
|
|
|
|
|
|
| |
http://code.google.com/p/go/issues/detail?id=1899
R=rsc, alex.brainman, bsiegert, hectorchu, bradfitz
CC=golang-dev
https://golang.org/cl/4978047
|
|
|
|
|
|
| |
R=rsc
CC=alex.brainman, golang-dev, vcc.163
https://golang.org/cl/4965050
|
|
|
|
|
|
| |
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/4937047
|
|
|
|
|
|
| |
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/4937045
|
|
|
|
|
|
|
|
|
|
|
| |
Also update the big example to the new template system.
There are a number of other examples that should be
extracted; this CL serves as an introduction to the
approach.
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/4923043
|
|
|
|
|
|
| |
R=r, gri, r
CC=golang-dev
https://golang.org/cl/4662085
|
|
|
|
|
|
|
|
| |
Fixes #1487.
R=rsc, alex.brainman, go.peter.90, mikioh.mikioh, mattn.jp
CC=golang-dev
https://golang.org/cl/4600042
|
|
|
|
|
|
| |
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/4602054
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes #1742.
I hope.
Also this picks up an update to go_tutorial.html that should already have happened.
R=brainman, rsc, peterGo
CC=golang-dev
https://golang.org/cl/4452050
|
|
|
|
|
|
| |
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/4446053
|
|
|
|
|
|
|
|
| |
Fixes #1455.
R=rsc
CC=golang-dev
https://golang.org/cl/4079055
|
|
|
|
|
|
| |
R=rsc, gri
CC=golang-dev
https://golang.org/cl/3978042
|
|
|
|
|
|
| |
R=brainman
CC=golang-dev
https://golang.org/cl/4042042
|
|
|
|
|
|
|
|
|
|
| |
Reported by W. Michael Petullo <mike@flyn.org>
Fixes #1269.
R=r, r2
CC=golang-dev
https://golang.org/cl/3618041
|
|
|
|
|
|
|
|
| |
Fixes #1333.
R=rsc, gri
CC=golang-dev
https://golang.org/cl/3556041
|
|
|
|
|
|
|
|
|
|
| |
Awaiting the lower-bound change before checkin.
Fixes #1067.
R=rsc, iant, gri
CC=golang-dev
https://golang.org/cl/2105043
|
|
|
|
|
|
|
|
|
| |
All scripts and makefiles assume that GOBIN is correctly set
in PATH.
R=rsc
CC=golang-dev
https://golang.org/cl/2043041
|
|
|
|
|
|
| |
R=adg, r, PeterGo
CC=golang-dev
https://golang.org/cl/1942044
|
|
|
|
|
|
|
|
|
| |
Besides being more correct, it protects against people accidentally
exchanging the permission and open mode arguments to Open.
R=rsc
CC=golang-dev
https://golang.org/cl/1904045
|
|
|
|
|
|
|
|
|
|
|
|
| |
note that sortmain.go has been run through hg gofmt;
only the formatting of the day initializers changed.
i'm happy to revert that formatting if you'd prefer.
stop on error in doc/progs/run
R=r
CC=golang-dev
https://golang.org/cl/850041
|
|
|
|
|
|
| |
R=rsc, r
CC=golang-dev
https://golang.org/cl/224069
|
|
|
|
|
|
| |
R=rsc
CC=golang-dev
https://golang.org/cl/179063
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change removes the necessity to have GOBIN in $PATH,
and also doesn't assume that the build is being run from
$GOROOT/src. This is a minimal set of necessary changes
to get Go to build happily from the FreeBSD ports
collection.
R=rsc
CC=golang-dev
https://golang.org/cl/171044
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the bash scripts and makefiles for building go didn't take into account
the fact $GOROOT / $GOBIN could both be directories containing whitespaces,
and was not possible to build it in such a situation.
this commit adjusts the various makefiles/scripts to make it aware of that
possibility, and now it builds successfully when using a path with whitespaces
as well.
Fixes #115.
R=rsc, dsymonds1
https://golang.org/cl/157067
|
|
|
|
|
|
| |
R=dho
CC=golang-dev
https://golang.org/cl/156067
|
|
|
|
|
|
|
|
|
|
| |
fix a typo caught by kakugawa@gmail.com
Fixes #92.
R=rsc
CC=golang-dev
https://golang.org/cl/152105
|
|
|
|
|
|
| |
R=r
CC=go-dev
http://go/go-review/1024014
|
|
|
|
|
|
|
|
| |
also add a section about compiling programs because some found it surprising not to have one
R=rsc
CC=go-dev
http://go/go-review/1018011
|
|
|
|
|
|
|
| |
R=r
DELTA=209 (65 added, 114 deleted, 30 changed)
OCL=35718
CL=35721
|
|
|
|
|
|
|
|
|
| |
fix a bug in makehtml - was deleting the output!
R=rsc
DELTA=11 (2 added, 0 deleted, 9 changed)
OCL=35672
CL=35674
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
roll back the changes to the tutorial programs (only) since they
break the automated processing used to create the tutorial.
*** Original change description ***
apply gofmt to the LGTM-marked files from 34501
that have not changed since I applied gofmt.
R=rsc
DELTA=139 (0 added, 44 deleted, 95 changed)
OCL=35670
CL=35670
|
|
|
|
|
|
|
| |
R=gri
DELTA=900 (106 added, 31 deleted, 763 changed)
OCL=35384
CL=35396
|
|
|
|
|
|
|
|
|
| |
that have not changed since I applied gofmt.
R=gri
DELTA=456 (77 added, 3 deleted, 376 changed)
OCL=35378
CL=35383
|