Francisco Souza
9e03dcb3fa
doc: add Gobs of data article
...
Originally published on The Go Programming Language Blog, March 24, 2011.
http://blog.golang.org/2011/03/gobs-of-data.html
R=adg
CC=golang-dev
https://golang.org/cl/5834043
2012-03-16 08:21:13 +11:00
Francisco Souza
235863cb12
doc: add "Godoc: documenting Go code" article
...
Originally published on The Go Programming Language Blog, March 31, 2011.
http://blog.golang.org/2011/03/godoc-documenting-go-code.html
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/5830043
2012-03-15 14:51:44 +11:00
Stefan Nilsson
f00872527b
doc: add reference to FAQ to explain warning about concrete type
...
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/5820048
2012-03-15 09:15:16 +11:00
Francisco Souza
5659826e43
doc: add Go Concurrency Patterns: Timing out, moving on article
...
Originally published on The Go Programming Language Blog, September 23, 2010.
http://blog.golang.org/2010/09/go-concurrency-patterns-timing-out-and.html
Update #2547 .
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/5815044
2012-03-14 13:03:11 +11:00
Johan Euphrosine
fef92cbbac
doc: add Go image/draw package article and convert code snippets to Go1.
...
Originally published on The Go Programming Language Blog, September 29, 2011.
http://blog.golang.org/2011/09/go-imagedraw-package.html
Update #2547 .
R=golang-dev, adg, rsc
CC=golang-dev
https://golang.org/cl/5755057
2012-03-14 11:27:41 +11:00
Francisco Souza
6033a48b77
doc: add Go's declaration syntax article
...
Originally published on The Go Programming Language Blog, July 7, 2010.
I did not put any go file in doc/progs. Shoul I include Go files
with those declarations?
http://blog.golang.org/2010/07/gos-declaration-syntax.html
Update #2547 .
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/5795068
2012-03-13 14:46:08 +11:00
Francisco Souza
60b98d6208
doc: add C? Go? Cgo! article
...
Originally published on The Go Programming Language Blog, March 17, 2011.
http://blog.golang.org/2011/03/c-go-cgo.html
Update #2547 .
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/5777054
2012-03-13 09:07:37 +11:00
Russ Cox
a40065ac68
cmd/godoc: add support for serving templates
...
doc: convert to use godoc built-in templates
tmpltohtml is gone, to avoid having a second copy of the code.
Instead, godoc -url /doc/go1.html will print the actual HTML
served for that URL. "make" will generate files named go1.rawhtml
etc, which can be fed through tidy.
It can be hard to tell from the codereview diffs, but all the
tmpl files have been renamed to be html files and then
have "Template": true added.
R=golang-dev, adg, r, gri
CC=golang-dev
https://golang.org/cl/5782046
2012-03-08 08:39:20 -05:00
Shenghou Ma
d56e0e7e94
doc: fix freebsd build
...
Also rename it to test.bash, for naming consistency.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5784045
2012-03-08 12:04:49 +09:00
Johan Euphrosine
26dc17ce78
doc: fix typos in laws_of_reflection article, add copyright notice.
...
Update #2547 .
R=golang-dev, minux.ma, r, r, adg
CC=golang-dev
https://golang.org/cl/5755051
2012-03-07 11:24:00 +11:00
Andrew Gerrand
73b8ccb0b0
doc: add "The go command" article based on Russ' mail
...
This is a philosophical document. We can soup it up at a later stage,
but for now it's nice to have a URL to point to that isn't a mailing
list post.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5676061
2012-03-07 07:40:21 +11:00
Andrew Gerrand
f78d50c6e5
doc: clean up docs page, refer to wiki, change install doc paths
...
R=golang-dev, minux.ma, r
CC=golang-dev
https://golang.org/cl/5728051
2012-03-05 14:31:27 +11:00
Francisco Souza
54875a7a7f
doc: fix another typo in article on defer, panic and recover
...
Fixes #3177
R=adg
CC=golang-dev
https://golang.org/cl/5728057
2012-03-04 14:40:14 +11:00
Francisco Souza
b1b0b73738
doc: fixed minor typo in article on defer
...
Fixes #3176 .
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/5737043
2012-03-04 11:34:21 +11:00
Johan Euphrosine
6652b0b866
doc: add The Laws of Reflection article
...
Originally published on The Go Programming Language Blog, September 6, 2011.
http://blog.golang.org/2011/09/laws-of-reflection.html
Update #2547
R=golang-dev, r, adg
CC=golang-dev
https://golang.org/cl/5689054
2012-03-01 10:05:51 +11:00
Andrew Gerrand
cd1a2f7e74
doc: move wiki tutorial into articles directory, rmdir doc/codelab
...
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5701050
2012-02-27 11:25:43 +11:00
Russ Cox
ae7497bda6
doc: remove overuse of simply
...
Specifically, remove simply where it is claiming that the
code or the action to be carried out is simple, since the
reader might disagree.
R=golang-dev, bradfitz, gri
CC=golang-dev
https://golang.org/cl/5637048
2012-02-06 13:34:35 -05:00
Andrew Gerrand
7cb21a79a4
godoc: specify HTML page metadata with a JSON blob
...
This allows HTML pages to specify arbitrary data in a header:
<!--{
"Title": "The page title",
...
}-->
replacing the old style comments:
<!-- title The page title -->
R=gri, rsc, r, bradfitz, dsymonds
CC=golang-dev
https://golang.org/cl/5532093
2012-01-19 11:24:54 +11:00
Andrew Gerrand
468e692e38
doc: only trim newlines in tmpltohtml, gofmt progs
...
R=golang-dev, r, r
CC=golang-dev
https://golang.org/cl/5530048
2012-01-09 20:05:34 +11:00
Andrew Gerrand
9443949207
doc: add Slices: usage and internals article
...
Originally published on the Go blog on 5 Jan 2011:
http://blog.golang.org/2011/01/go-slices-usage-and-internals.html
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5516046
2012-01-06 09:21:43 +11:00
Andrew Gerrand
5353e1ef96
doc: trim spaces from code snippets
...
gofmt likes to put lines like
// STOP OMIT
two blank lines from a closing brace, creating an ugly space inside
<pre> blocks in some of these files. This change resolves this issue.
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/5520044
2012-01-06 09:20:31 +11:00
Olivier Duperray
e4d624b04d
doc/articles: add {{donotedit}} to templates
...
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/5502088
2012-01-03 11:40:58 +11:00
Andrew Gerrand
c400a0b7db
doc: add Error Handling article
...
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
2011-12-13 09:44:06 +11:00
Andrew Gerrand
49d82b4ca1
doc: add Defer, Panic, and Recover article
...
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
2011-12-12 13:15:29 +11:00