]> Cypherpunks repositories - gostls13.git/commitdiff
doc: mention go/printer instead of container/vector in effective go
authorAndrew Gerrand <adg@golang.org>
Wed, 25 May 2011 01:39:40 +0000 (11:39 +1000)
committerAndrew Gerrand <adg@golang.org>
Wed, 25 May 2011 01:39:40 +0000 (11:39 +1000)
Fixes #1876.

R=golang-dev, bradfitz, gri, r
CC=golang-dev
https://golang.org/cl/4538093

doc/effective_go.html

index f713b3edb8762b15408c79aed73061c01f11f4c0..972772d337f211fd0e84bcee834772c2f75c1457 100644 (file)
@@ -297,9 +297,9 @@ determines just which package is being used.
 <p>
 Another convention is that the package name is the base name of
 its source directory;
-the package in <code>src/pkg/container/vector</code>
-is imported as <code>"container/vector"</code> but has name <code>vector</code>,
-not <code>container_vector</code> and not <code>containerVector</code>.
+the package in <code>src/pkg/encoding/base64</code>
+is imported as <code>"encoding/base64"</code> but has name <code>base64</code>,
+not <code>encoding_base64</code> and not <code>encodingBase64</code>.
 </p>
 
 <p>