From bab5536af6bbf197bbf54ff2c92b4462af1a82c3 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Sat, 12 Feb 2011 18:03:16 -0800 Subject: [PATCH] code.html: update to reflect that package names need not be unique Fixes #1507. R=golang-dev, ehog.hedge, rsc CC=golang-dev https://golang.org/cl/4160049 --- doc/code.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/code.html b/doc/code.html index 55afe09af3..9236cf263b 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 "crypto/rot13" should be named rot13. -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.

-- 2.50.0