]> Cypherpunks repositories - gostls13.git/commit
builtin: add documentation for builtins
authorRob Pike <r@golang.org>
Mon, 15 Aug 2011 21:51:44 +0000 (07:51 +1000)
committerRob Pike <r@golang.org>
Mon, 15 Aug 2011 21:51:44 +0000 (07:51 +1000)
commitde1f856d660e38c42c82f382209085bb65980fa9
tree81b0efc1d09f25d30b7d7d5de680a623d19d417f
parentb0fc8a9d571e3540c1a70e1e3b1a05bd1b4af4b4
builtin: add documentation for builtins
Do this by adding a fake package called builtin. At the moment, godoc will
not present this documentation because the function names are all lower case,
but there are plans to address this.
The print and println functions are undocumented here. I could be talked
into doing them but I'd rather not promote their use.

R=dsymonds, n13m3y3r, r, gri, rsc
CC=golang-dev
https://golang.org/cl/4907041
src/pkg/builtin/builtin.go [new file with mode: 0644]