summaryrefslogtreecommitdiff
path: root/doc/progs/helloworld3.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2008-09-17 12:14:52 -0700
committerRob Pike <r@golang.org>2008-09-17 12:14:52 -0700
commit291d5368e91d17b7c0f834cb8dd89d34c314c53b (patch)
tree0a6f61e595d8d8bd3047129ad90761db3c0496dd /doc/progs/helloworld3.go
parente05d2b08ad7472de3756664a0b2c56ae2ce31387 (diff)
downloadgolang-291d5368e91d17b7c0f834cb8dd89d34c314c53b.tar.gz
tutorial code:
tweak a program or two delete unused programs add shell script to run them all R=gri DELTA=213 (62 added, 147 deleted, 4 changed) OCL=15435 CL=15437
Diffstat (limited to 'doc/progs/helloworld3.go')
-rw-r--r--doc/progs/helloworld3.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/progs/helloworld3.go b/doc/progs/helloworld3.go
index 540036865..2347a1a19 100644
--- a/doc/progs/helloworld3.go
+++ b/doc/progs/helloworld3.go
@@ -7,7 +7,7 @@ package main
import FD "fd"
func main() {
- hello := []byte{'h', 'e', 'l', 'l', 'o', ', ', ' ', 'w', 'o', 'r', 'l', 'd', '\n'};
+ hello := []byte{'h', 'e', 'l', 'l', 'o', ',', ' ', 'w', 'o', 'r', 'l', 'd', '\n'};
FD.Stdout.Write(&hello);
fd, errno := FD.Open("/does/not/exist", 0, 0);
if fd == nil {