From 374bd41eff9f007f7c3c7834b9a36aa0a33c311e Mon Sep 17 00:00:00 2001 From: Andrey Mirtchovski Date: Thu, 29 Apr 2010 14:06:27 +1000 Subject: 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 --- doc/codelab/wiki/index.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'doc/codelab/wiki/index.html') 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" )

-Both fmt and ioutil are built-in packages that -we'll be using. Later, as we implement additional functionality, we will add -more packages to this import declaration. +We import the fmt, ioutil and os +packages from the Go standard library. Later, as we implement additional +functionality, we will add more packages to this import +declaration.

Data Structures

@@ -304,6 +306,7 @@ import ( "fmt" "http" "io/ioutil" + "os" ) -- cgit v1.2.3