1
0
mirror of https://github.com/golang/go synced 2024-11-18 04:04:49 -07:00
go/doc
Dina Garmash 8a2b5f1f39 doc: fix os.Pipe() call in the example.
Short variable declarations example passes an fd argument to os.Pipe call.
However, os.Pipe() takes no arguments and returns 2 Files and an error:
https://golang.org/src/os/pipe_linux.go?s=319:360#L1

Fixes: #27384

Change-Id: I0a709f51e0878c57185d901b899d209f001dfcce
Reviewed-on: https://go-review.googlesource.com/132284
Reviewed-by: Robert Griesemer <gri@golang.org>
2018-08-31 06:39:16 +00:00
..
articles doc/articles/wiki: highlight the use of _ warning 2018-02-14 04:54:37 +00:00
codewalk
devel doc: add Go 1.11 to release history page 2018-08-30 03:24:24 +00:00
gopher doc/gopher: add model sheet 2018-07-18 04:00:10 +00:00
play
progs net/http,doc: use HTTP status code constants where applicable 2018-02-26 05:04:31 +00:00
asm.html cmd/compile: add softfloat support to mips64{,le} 2018-04-27 14:50:17 +00:00
cmd.html
code.html doc/code: drop mentions of GOPATH/pkg directory 2018-08-17 15:52:33 +00:00
conduct.html doc: update Code of Conduct 2018-05-23 20:16:46 +00:00
contrib.html
contribute.html doc: recommend benchstat for performance commits 2018-08-31 03:52:31 +00:00
debugging_with_gdb.html doc: update "Mac OS X", "OS X" to macOS; bump up to 10.10 2018-06-19 21:36:56 +00:00
diagnostics.html doc: update more stale pprof links 2018-06-17 21:35:39 +00:00
docs.html doc: use HTTPS for links 2018-06-13 13:45:01 +00:00
editors.html doc: use HTTPS for links 2018-06-13 13:45:01 +00:00
effective_go.html doc: make chart.apis.google.com link not clickable 2018-04-26 18:26:06 +00:00
gccgo_contribute.html doc: use HTTPS for links 2018-06-13 13:45:01 +00:00
gccgo_install.html doc: use HTTPS for links 2018-06-13 13:45:01 +00:00
go1.1.html
go1.2.html doc: use HTTPS for links 2018-06-13 13:45:01 +00:00
go1.3.html
go1.4.html doc: use HTTPS for links 2018-06-13 13:45:01 +00:00
go1.5.html
go1.6.html doc: use HTTPS for clang.llvm.org link in go1.6.html 2018-06-12 15:03:24 +00:00
go1.7.html doc: use HTTPS for man.openbsd.org link in go1.7.html 2018-06-12 15:03:46 +00:00
go1.8.html
go1.9.html
go1.10.html doc: correct statement in go1.10 release notes 2018-04-23 22:21:48 +00:00
go1.11.html doc/go1.11: fix typo 2018-08-24 23:02:01 +00:00
go1.html doc: change anchor URLs from golang.org/dl/ to /dl/ 2018-01-20 04:13:12 +00:00
go1compat.html
go_faq.html doc: fix a couple of drive-by review comments in FAQ 2018-07-24 22:32:58 +00:00
go_mem.html
go_spec.html doc: fix os.Pipe() call in the example. 2018-08-31 06:39:16 +00:00
go-logo-black.png
go-logo-blue.png
go-logo-white.png
help.html
ie.css
install-source.html doc: update "Mac OS X", "OS X" to macOS; bump up to 10.10 2018-06-19 21:36:56 +00:00
install.html doc: update the minimum support Windows version 2018-07-11 22:05:38 +00:00
root.html doc: update "Mac OS X", "OS X" to macOS; bump up to 10.10 2018-06-19 21:36:56 +00:00
security.html doc: update the primary security coordinator to filippo@ 2018-08-13 04:48:19 +00:00
share.png
tos.html