Rob Pike
9b409ac7ee
docs: Update notes for 3-day Go course.
...
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/4605041
2011-06-10 15:05:51 +10:00
Andrew Gerrand
79eded509c
doc: don't insert paragraphs inside pre blocks
...
doc: update go_tutorial
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/4568056
2011-06-06 13:33:05 +10:00
Rob Pike
46f482a2fc
docs: remove some prose-unworthy empty parentheses.
...
In our evolving style, prose should name a function "f" not "f()".
R=gri, rsc
CC=golang-dev
https://golang.org/cl/4550075
2011-05-25 06:44:09 +10:00
Rob Pike
2ccd20a646
tutorial: replace the forever loops with finite counts in sieve programs.
...
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
2011-04-27 09:59:27 -07:00
Rob Pike
23fc9c84bd
tutorial: modernize the definition and use of Open.
...
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/4446053
2011-04-18 10:51:40 -07:00
Rob Pike
7115eef6be
tutorial: rework the introduction to give "Effective Go"
...
prominence and downplay the course notes.
R=golang-dev, gri, rsc
CC=golang-dev
https://golang.org/cl/4190041
2011-02-14 11:25:00 -08:00
Rob Pike
80e25fc923
docs: float->float64 plus a couple of other tweaks.
...
R=rsc, gri
CC=golang-dev
https://golang.org/cl/3978042
2011-01-19 23:07:38 -05:00
Rob Pike
166b444a93
tutorial: make stdin, stdout, stderr work on Windows.
...
R=brainman
CC=golang-dev
https://golang.org/cl/4042042
2011-01-18 11:01:47 -08:00
Rob Pike
e3b6188ca2
tutorial: a couple of minor fixes.
...
Fixes #1333 .
R=rsc, gri
CC=golang-dev
https://golang.org/cl/3556041
2010-12-09 16:18:31 -05:00
Andrew Gerrand
7de5e6e84d
go_tutorial: change wording slightly and sync .txt and .html post-gofmt
...
Fixes #1211 .
R=r, r2
CC=golang-dev
https://golang.org/cl/2635041
2010-10-21 14:59:23 +11:00
Rob Pike
781462dc46
doc/tutorial: update for slice changes.
...
Awaiting the lower-bound change before checkin.
Fixes #1067 .
R=rsc, iant, gri
CC=golang-dev
https://golang.org/cl/2105043
2010-09-10 13:53:18 +10:00
Rob Pike
cd8f4cd206
tutorial: regenerate HTML to pick up change to progs/file.go.
...
Fixes #1075 .
R=gri
CC=golang-dev
https://golang.org/cl/2104048
2010-09-04 10:22:49 +10:00
Rob Pike
708d7160fa
tutorial: show how to compile helloworld3, which depends on ./file
...
make shell prompts consistent
R=rsc
CC=golang-dev
https://golang.org/cl/1824042
2010-07-14 13:29:12 -07:00
Andrew Gerrand
eca2ec0786
doc/go_tutorial: mention order of compilation
...
In response to this recurring issue:
http://groups.google.com/group/golang-nuts/t/710d1e8347cd51fa
R=r
CC=golang-dev
https://golang.org/cl/1682050
2010-07-05 16:25:29 +10:00
Rob Pike
b9055629c1
tutorial: update discussion of variadic functions
...
R=rsc
CC=golang-dev
https://golang.org/cl/1677042
2010-06-14 12:27:22 -07:00
Rob Pike
f81abb9dd8
tutorial: fix one-word mistake in echo example
...
R=rsc, iant
CC=golang-dev
https://golang.org/cl/1567041
2010-06-05 12:06:18 -07:00
Andrew Gerrand
a82349614b
go_tutorial: removed outdated use of semicolons
...
R=r
CC=golang-dev
https://golang.org/cl/1013042
2010-04-28 10:50:44 +10:00
Rob Pike
34356e9a6a
update tutorial.
...
R=rsc
CC=golang-dev
https://golang.org/cl/179063
2009-12-16 10:29:53 +11:00
Rob Pike
bbd4cb382a
fix naked < as reported by pwil3058@gmail.com
...
R=rsc
CC=pwil3058
https://golang.org/cl/174087
2009-12-14 13:30:11 +11:00
Rob Pike
029c39f45a
fix some typos in the documentation
...
Fixes #196 .
R=rsc
https://golang.org/cl/154152
2009-11-15 12:09:59 -08:00
Rob Pike
9549eeecd1
add a paragraph about semicolons to the tutorial.
...
fix a typo caught by kakugawa@gmail.com
Fixes #92 .
R=rsc
CC=golang-dev
https://golang.org/cl/152105
2009-11-12 14:10:16 -08:00
Rob Pike
cf16443c69
fix a couple of typos.
...
add a mention of range to the tutorial.
change tutorial's title.
R=rsc
CC=golang-dev
https://golang.org/cl/152098
2009-11-12 11:05:20 -08:00
Rob Pike
0d93dbcf9b
link the course slides from early in the tutorial
...
R=rsc
CC=go-dev
http://go/go-review/1026031
2009-11-08 22:03:12 -08:00
Ian Lance Taylor
97a55a7485
Minor cleanups.
...
These are all fairly trivial and may be ignored.
R=r
CC=go-dev
http://go/go-review/1024025
2009-11-08 21:00:45 -08:00
Russ Cox
898714a92f
tutorial fixes
...
R=r
CC=go-dev
http://go/go-review/1024014
2009-11-07 18:05:30 -08:00
Rob Pike
83f0b718ed
fixups in the tutorial
...
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-11-01 20:47:03 -08:00
Russ Cox
a68592a4dd
excise some internal references.
...
R=r
DELTA=209 (65 added, 114 deleted, 30 changed)
OCL=35718
CL=35721
2009-10-14 13:02:05 -07:00
Rob Pike
68c921e25c
add an entry in the lang faq about reference types.
...
remove a mention of sawzall in the tutorial.
R=rsc
DELTA=36 (14 added, 4 deleted, 18 changed)
OCL=35717
CL=35719
2009-10-14 11:53:55 -07:00
Rob Pike
bf983a0df2
bye-bye to old makehtml.
...
go can do the job just fine.
R=rsc
DELTA=290 (209 added, 13 deleted, 68 changed)
OCL=35699
CL=35699
2009-10-13 22:10:16 -07:00
Rob Pike
327b6c637e
fix links in tutorial
...
R=rsc
DELTA=30 (0 added, 22 deleted, 8 changed)
OCL=35694
CL=35697
2009-10-13 18:01:24 -07:00
Rob Pike
cd7062ef6f
clean up the mess that copyright notices make
...
R=rsc
DELTA=555 (92 added, 38 deleted, 425 changed)
OCL=35691
CL=35693
2009-10-13 17:17:30 -07:00
Rob Pike
400fa1c893
align the tutorial with the renaming of SortInterface.
...
fix a bug in makehtml - was deleting the output!
R=rsc
DELTA=11 (2 added, 0 deleted, 9 changed)
OCL=35672
CL=35674
2009-10-13 13:05:42 -07:00
Robert Griesemer
53440da835
Factored out boilerplate from all html docs in doc directory:
...
- the first HTML comment in those files is extracted as page
title when serving them
- lib/godoc.html is top-level template for all pages served
- experimented a bit with package documentation layout
(feedback welcome)
- various related cleanups
TODO:
- The / page (doc/root.html) content repeats links that are
in the navigation bar. It needs to be cleaned up.
R=rsc
DELTA=826 (86 added, 692 deleted, 48 changed)
OCL=35230
CL=35245
2009-10-01 14:08:00 -07:00
Rob Pike
ea4ada89e1
process tutorial into new format
...
R=rsc
DELTA=161 (57 added, 56 deleted, 48 changed)
OCL=34926
CL=34929
2009-09-23 12:31:57 -07:00
Rob Pike
44b0f591e7
check in the generated html for the tutorial so godoc can serve it
...
DELTA=1444 (1444 added, 0 deleted, 0 changed)
OCL=34760
CL=34762
2009-09-17 17:05:45 -07:00