1
0
mirror of https://github.com/golang/go synced 2024-11-12 04:50:21 -07:00

doc: mention go/printer instead of container/vector in effective go

Fixes #1876.

R=golang-dev, bradfitz, gri, r
CC=golang-dev
https://golang.org/cl/4538093
This commit is contained in:
Andrew Gerrand 2011-05-25 11:39:40 +10:00
parent 2f655c4bb7
commit feb9a146f9

View 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>