summaryrefslogtreecommitdiff
path: root/doc/progs/file.go
AgeCommit message (Collapse)AuthorFilesLines
2009-12-16update tutorial.Rob Pike1-16/+16
R=rsc CC=golang-dev http://codereview.appspot.com/179063
2009-11-01fixups in the tutorialRob Pike1-1/+1
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
2009-10-13Automated g4 rollback of changelist 35383.Rob Pike1-16/+16
*** 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
2009-10-06apply gofmt to the LGTM-marked files from 34501Russ Cox1-16/+16
that have not changed since I applied gofmt. R=gri DELTA=456 (77 added, 3 deleted, 376 changed) OCL=35378 CL=35383
2009-06-25Change os.Error convention:Russ Cox1-4/+16
echo back context of call in error if likely to be useful. For example, if os.Open("/etc/passwd", os.O_RDONLY) fails with syscall.EPERM, it returns as the os.Error &PathError{ Op: "open", Path: "/etc/passwd" Error: os.EPERM } which formats as open /etc/passwd: permission denied Not converted: datafmt go/... google/... regexp tabwriter template R=r DELTA=1153 (561 added, 156 deleted, 436 changed) OCL=30738 CL=30781
2009-06-01update Go tree to use new syscall package.Russ Cox1-7/+7
R=r DELTA=713 (109 added, 386 deleted, 218 changed) OCL=29707 CL=29722
2009-04-17Step 1 of the Big Error Shift: make os.Error an interface and replace ↵Rob Pike1-4/+4
*os.Errors with os.Errors. lib/template updated to use new setup; its clients also updated. Step 2 will make os's error support internally much cleaner. R=rsc OCL=27586 CL=27586
2009-03-16change the tutorial to use File, file rather than FD, fd.Rob Pike1-0/+62
also make the default input for makehtml be go_tutorial.txt. R=rsc DELTA=176 (58 added, 58 deleted, 60 changed) OCL=26374 CL=26374