From: Andrey Mirtchovski Date: Thu, 29 Apr 2010 04:06:27 +0000 (+1000) Subject: codelab/index.html "os" needs to be imported because os.Error is used almost immediately X-Git-Tag: weekly.2010-05-04~48 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ad26019ba69628b17d3749fdb460925b94c985d4;p=gostls13.git 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 --- 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" )