diff options
author | Rob Pike <r@golang.org> | 2011-02-12 18:03:16 -0800 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2011-02-12 18:03:16 -0800 |
commit | 86ff3d99ab0244874a1ab98cf5adaad3d9769db0 (patch) | |
tree | d3b77157d39f0ec75e77c216cf5c321e1868362d /doc/code.html | |
parent | 248d6ee7ff12e58a0a431ec7e93ee9664fceda3a (diff) | |
download | go-86ff3d99ab0244874a1ab98cf5adaad3d9769db0.tar.gz |
code.html: update to reflect that package names need not be unique
Fixes issue 1507.
R=golang-dev, ehog.hedge, rsc
CC=golang-dev
http://codereview.appspot.com/4160049
Diffstat (limited to 'doc/code.html')
-rw-r--r-- | doc/code.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/code.html b/doc/code.html index 55afe09af..9236cf263 100644 --- a/doc/code.html +++ b/doc/code.html @@ -160,9 +160,9 @@ is the package's default name for imports. Go's convention is that the package name is the last element of the import path: the package imported as <code>"crypto/rot13"</code> should be named <code>rot13</code>. -At the moment, the Go tools impose a restriction that package names are unique -across all packages linked into a single binary, but that restriction -will be lifted soon. +There is no requirement that package names be unique +across all packages linked into a single binary, +only that the import paths (their full file names) be unique. </p> <p> |