aboutsummaryrefslogtreecommitdiff
path: root/src/testing/example.go
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2015-05-08 10:41:15 -0400
committerRob Pike <r@golang.org>2015-05-08 17:01:24 +0000
commit3a3773c8cb439034094025cf2f85ed52535c3e1f (patch)
treee03a7173aad3c0e60e758a71617fa723339e4b4d /src/testing/example.go
parente8fc93ea45ca0147f24f61f5ed48e68b57d473df (diff)
downloadgo-3a3773c8cb439034094025cf2f85ed52535c3e1f.tar.xz
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>
Diffstat (limited to 'src/testing/example.go')
0 files changed, 0 insertions, 0 deletions