summaryrefslogtreecommitdiff
path: root/doc/progs/cat.go
AgeCommit message (Collapse)AuthorFilesLines
2011-04-28Imported Upstream version 2011.04.27Ondřej Surý1-1/+2
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-3/+3
2009-12-16update tutorial.Rob Pike1-17/+17
R=rsc CC=golang-dev http://codereview.appspot.com/179063
2009-11-01fixups in the tutorialRob Pike1-3/+3
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-2/+2
*** 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-06another round of gofmt applicationsRuss Cox1-2/+2
R=gri DELTA=900 (106 added, 31 deleted, 763 changed) OCL=35384 CL=35396
2009-06-25add ./ to imports where necessaryRuss Cox1-1/+1
R=r DELTA=51 (4 added, 4 deleted, 43 changed) OCL=30759 CL=30778
2009-05-08move things out of sys into os and runtimeRuss Cox1-2/+2
R=r OCL=28569 CL=28573
2009-04-15code changes for array conversion.Russ Cox1-1/+1
as a reminder, the old conversion was that you could write var arr [10]byte; var slice []byte; slice = arr; but now you have to write slice = &arr; the change eliminates an implicit &, so that the only implicit &s left are in the . operator and in string(arr). also, removed utf8.EncodeRuneToString in favor of string(rune). R=r DELTA=83 (1 added, 23 deleted, 59 changed) OCL=27531 CL=27534
2009-03-18remove print() from the tutorial, generating a little clumsiness around "import"Rob Pike1-3/+5
R=rsc,gri DELTA=103 (36 added, 33 deleted, 34 changed) OCL=26442 CL=26491
2009-03-16change the tutorial to use File, file rather than FD, fd.Rob Pike1-11/+11
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
2009-01-16casify, cleanup sysRuss Cox1-2/+2
R=r OCL=22978 CL=22984
2009-01-09update tutorial to new language.Rob Pike1-16/+16
add a section on printing add a section on allocation R=rsc DELTA=500 (278 added, 15 deleted, 207 changed) OCL=22381 CL=22456
2009-01-06make the tutorial programs run again.Rob Pike1-2/+2
(the text still needs fixing) add the tutorial programs to the test run. R=rsc DELTA=41 (6 added, 0 deleted, 35 changed) OCL=22174 CL=22174
2008-09-15develop interfaces through catsRob Pike1-0/+44
sort 2,3,5 R=gri DELTA=648 (647 added, 0 deleted, 1 changed) OCL=15315 CL=15352