From ad26019ba69628b17d3749fdb460925b94c985d4 Mon Sep 17 00:00:00 2001 From: Andrey Mirtchovski Date: Thu, 29 Apr 2010 14:06:27 +1000 Subject: [PATCH] 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 https://golang.org/cl/965045 --- doc/codelab/wiki/index.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/codelab/wiki/index.html b/doc/codelab/wiki/index.html index b8ae920584..898ea01d17 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" )