1
0
mirror of https://github.com/golang/go synced 2024-11-23 08:10:03 -07:00
go/doc
Brett Cannon 3a3773c8cb doc/effective_go: make function signature match function body
In the Slices section of Effective Go, the os package's File.Read
function is used as an example. Unfortunately the function signature
does not match the function's code in the example, nor the os package's
documentation. This change updates the function signature to match
the os package and the pre-existing function code.

Change-Id: Iae9f30c898d3a1ff8d47558ca104dfb3ff07112c
Reviewed-on: https://go-review.googlesource.com/9845
Reviewed-by: Rob Pike <r@golang.org>
2015-05-08 17:01:24 +00:00
..
articles doc/articles/go_command.html: mention go generate 2015-04-17 20:33:25 +00:00
codewalk doc: fix typo in sharemem codewalk 2014-05-21 14:34:20 -07:00
devel doc: document Go 1.4.2 2015-02-18 03:29:47 +00:00
gopher doc/gopher: add jpgs of the 5th anniversary image 2014-11-11 23:46:20 +11:00
play doc/play: revise peano.go comment again. 2014-12-12 01:40:04 +00:00
progs doc/progs: disable cgo tests that use C.Stdout on Solaris 2015-05-06 11:38:22 +00:00
asm.html doc/asm: document that assembly function must use short name 2015-02-15 00:07:11 +00:00
cmd.html all: use golang.org/x/... import paths 2014-11-10 09:15:57 +11:00
code.html doc: Added link to 'go help gopath' 2015-01-05 21:24:39 +00:00
contrib.html [release-branch.go1.4] doc: scrub references to code.google.com 2014-12-12 14:00:48 +11:00
contribute.html doc/contribute.html rewrite "Set up auth... code review". 2015-03-02 02:11:58 +00:00
debugging_with_gdb.html build: adjustments for move from src/pkg to src 2014-09-08 00:06:45 -04:00
docs.html doc: drop scheme from links that are known to support HTTPS 2014-07-25 10:28:39 +10:00
effective_go.html doc/effective_go: make function signature match function body 2015-05-08 17:01:24 +00:00
gccgo_contribute.html all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
gccgo_install.html gccgo_install.html: the 4.9 release series supports Go 1.2 2014-10-22 20:41:13 -07:00
go1.1.html doc: drop scheme from links that are known to support HTTPS 2014-07-25 10:28:39 +10:00
go1.2.html doc: drop scheme from links that are known to support HTTPS 2014-07-25 10:28:39 +10:00
go1.3.html [release-branch.go1.4] doc: scrub references to code.google.com 2014-12-12 14:00:48 +11:00
go1.4.html doc/go1.4.html: fix typo 2015-03-24 18:17:49 +00:00
go1.5.txt doc: mention returned error types and values on the net package in go1.5.txt 2015-05-07 01:24:27 +00:00
go1.html doc: link directly to https://golang.org/dl/ 2014-09-12 09:15:58 +10:00
go1compat.html all: use golang.org/x/... import paths 2014-11-10 09:15:57 +11:00
go_faq.html doc/faq: replace reference to goven with gomvpkg 2015-04-23 03:39:17 +00:00
go_mem.html doc/go_mem.html: correct the channel example 2015-03-16 21:43:31 +00:00
go_spec.html spec: extend type omission rules for composite literal element values 2015-03-20 23:06:28 +00:00
go-logo-black.png
go-logo-blue.png
go-logo-white.png
help.html [release-branch.go1.4] doc: scrub references to code.google.com 2014-12-12 14:00:48 +11:00
ie.css
install-source.html doc/install-source.html: fix cd command, already in go dir. 2015-02-25 21:34:01 +00:00
install.html runtime, syscall: use SYSCALL instruction on FreeBSD. 2015-01-18 23:51:50 +00:00
root.html doc: drop scheme from links that are known to support HTTPS 2014-07-25 10:28:39 +10:00
share.png
tos.html doc: drop scheme from links that are known to support HTTPS 2014-07-25 10:28:39 +10:00