diff --git a/doc/code.html b/doc/code.html
index 10f12d987c0ad961bf9bd2f5c0ee9a3144862cbf..2d63d4dc919d50c7a7962b9389a9e7cd8dff297f 100644
--- a/doc/code.html
+++ b/doc/code.html
@@ -234,7 +234,7 @@ You can now run the program by typing its full path at the command line:
 
 <pre>
 $ <b>$GOPATH/bin/hello</b>
-Hello!
+Hello, world.
 </pre>
 
 <p>
@@ -244,7 +244,7 @@ just type the binary name:
 
 <pre>
 $ <b>hello</b>
-Hello!
+Hello, world.
 </pre>
 
 <p>