summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndrey Mirtchovski <mirtchovski@gmail.com>2010-04-29 14:06:27 +1000
committerAndrey Mirtchovski <mirtchovski@gmail.com>2010-04-29 14:06:27 +1000
commit374bd41eff9f007f7c3c7834b9a36aa0a33c311e (patch)
tree99d70b18f5e36c7c38492b977e054b01bea757c9 /doc
parentbe519c0327fed29afd2d6225ad53644c4fd06f32 (diff)
downloadgolang-374bd41eff9f007f7c3c7834b9a36aa0a33c311e.tar.gz
codelab/index.html "os" needs to be imported because os.Error is used almost immediately
Also, calling fmt, ioutil and os "builtin" is probably confusing. R=adg CC=golang-dev http://codereview.appspot.com/965045 Committer: Andrew Gerrand <adg@golang.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/codelab/wiki/index.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/codelab/wiki/index.html b/doc/codelab/wiki/index.html
index b8ae92058..898ea01d1 100644
--- a/doc/codelab/wiki/index.html
+++ b/doc/codelab/wiki/index.html
@@ -58,13 +58,15 @@ package main
import (
"fmt"
"io/ioutil"
+ "os"
)
</pre>
<p>
-Both <code>fmt</code> and <code>ioutil</code> are built-in packages that
-we'll be using. Later, as we implement additional functionality, we will add
-more packages to this <code>import</code> declaration.
+We import the <code>fmt</code>, <code>ioutil</code> and <code>os</code>
+packages from the Go standard library. Later, as we implement additional
+functionality, we will add more packages to this <code>import</code>
+declaration.
</p>
<h2>Data Structures</h2>
@@ -304,6 +306,7 @@ import (
"fmt"
<b>"http"</b>
"io/ioutil"
+ "os"
)
</pre>