text: add import comments.

Change-Id: Ifdb6e8b968ae432c1e4c703c25ae034382c94cc9
Reviewed-on: https://go-review.googlesource.com/1243
Reviewed-by: Andrew Gerrand <adg@golang.org>
diff --git a/cases/cases.go b/cases/cases.go
index 5264a11..448a2ea 100644
--- a/cases/cases.go
+++ b/cases/cases.go
@@ -3,7 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // Package cases provides general and language-specific case mappers.
-package cases
+package cases // import "golang.org/x/text/cases"
 
 import (
 	"golang.org/x/text/language"
diff --git a/cldr/cldr.go b/cldr/cldr.go
index dedd84f..da70515 100644
--- a/cldr/cldr.go
+++ b/cldr/cldr.go
@@ -12,7 +12,7 @@
 // may have moved or changed.
 // CLDR version 22 is the first version supported by this package.
 // Older versions may not work.
-package cldr
+package cldr // import "golang.org/x/text/cldr"
 
 //go:generate go run makexml.go -output xml.go
 
diff --git a/collate/build/builder.go b/collate/build/builder.go
index 47c5954..f4a8324 100644
--- a/collate/build/builder.go
+++ b/collate/build/builder.go
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-package build
+package build // import "golang.org/x/text/collate/build"
 
 import (
 	"fmt"
diff --git a/collate/collate.go b/collate/collate.go
index fbed385..09d29aa 100644
--- a/collate/collate.go
+++ b/collate/collate.go
@@ -5,7 +5,7 @@
 // Package collate contains types for comparing and sorting Unicode strings
 // according to a given collation order.  Package locale provides a high-level
 // interface to collation. Users should typically use that package instead.
-package collate
+package collate // import "golang.org/x/text/collate"
 
 //go:generate go run maketables.go -output tables.go
 
diff --git a/collate/colltab/colltab.go b/collate/colltab/colltab.go
index 60d54fe..8c9f498 100644
--- a/collate/colltab/colltab.go
+++ b/collate/colltab/colltab.go
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-package colltab
+package colltab // import "golang.org/x/text/collate/colltab"
 
 // A Weigher can be used as a source for Collator and Searcher.
 type Weigher interface {
diff --git a/collate/tools/colcmp/colcmp.go b/collate/tools/colcmp/colcmp.go
index f689c68..6dda8bc 100644
--- a/collate/tools/colcmp/colcmp.go
+++ b/collate/tools/colcmp/colcmp.go
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-package main
+package main // import "golang.org/x/text/collate/tools/colcmp"
 
 import (
 	"bytes"
diff --git a/display/display.go b/display/display.go
index 1f3e754..e9f38c8 100644
--- a/display/display.go
+++ b/display/display.go
@@ -10,7 +10,7 @@
 // large. The display package is designed so that users can reduce the linked-in
 // table sizes by cherry picking the languages one wishes to support. There is a
 // Dictionary defined for a selected set of common languages for this purpose.
-package display
+package display // import "golang.org/x/text/display"
 
 //go:generate go run maketables.go -output tables.go
 
diff --git a/encoding/charmap/charmap.go b/encoding/charmap/charmap.go
index edd7d6d..1bacf03 100644
--- a/encoding/charmap/charmap.go
+++ b/encoding/charmap/charmap.go
@@ -4,7 +4,7 @@
 
 // Package charmap provides simple character encodings such as IBM Code Page 437
 // and Windows 1252.
-package charmap
+package charmap // import "golang.org/x/text/encoding/charmap"
 
 import (
 	"unicode/utf8"
diff --git a/encoding/encoding.go b/encoding/encoding.go
index 2f99a02..4ede52e 100644
--- a/encoding/encoding.go
+++ b/encoding/encoding.go
@@ -14,7 +14,7 @@
 // Encoding implementations are provided in other packages, such as
 // golang.org/x/text/encoding/charmap and
 // golang.org/x/text/encoding/japanese.
-package encoding
+package encoding // import "golang.org/x/text/encoding"
 
 import (
 	"errors"
diff --git a/encoding/japanese/maketables.go b/encoding/japanese/maketables.go
index 78d4257..8660097 100644
--- a/encoding/japanese/maketables.go
+++ b/encoding/japanese/maketables.go
@@ -29,7 +29,7 @@
 func main() {
 	fmt.Printf("// generated by go run maketables.go; DO NOT EDIT\n\n")
 	fmt.Printf("// Package japanese provides Japanese encodings such as EUC-JP and Shift JIS.\n")
-	fmt.Printf("package japanese\n\n")
+	fmt.Printf(`package japanese // import "golang.org/x/text/encoding/japanese"\n\n`)
 
 	reverse := [65536]entry{}
 	for i := range reverse {
diff --git a/encoding/japanese/tables.go b/encoding/japanese/tables.go
index 1108e83..8717b79 100644
--- a/encoding/japanese/tables.go
+++ b/encoding/japanese/tables.go
@@ -1,7 +1,7 @@
 // generated by go run maketables.go; DO NOT EDIT
 
 // Package japanese provides Japanese encodings such as EUC-JP and Shift JIS.
-package japanese
+package japanese // import "golang.org/x/text/encoding/japanese"
 
 // jis0208Decode is the decoding table from JIS 0208 code to Unicode.
 // It is defined at http://encoding.spec.whatwg.org/index-jis0208.txt
diff --git a/encoding/korean/maketables.go b/encoding/korean/maketables.go
index a26c7e9..b1bfb39 100644
--- a/encoding/korean/maketables.go
+++ b/encoding/korean/maketables.go
@@ -21,7 +21,7 @@
 func main() {
 	fmt.Printf("// generated by go run maketables.go; DO NOT EDIT\n\n")
 	fmt.Printf("// Package korean provides Korean encodings such as EUC-KR.\n")
-	fmt.Printf("package korean\n\n")
+	fmt.Printf(`package korean // import "golang.org/x/text/encoding/korean"\n\n`)
 
 	res, err := http.Get("http://encoding.spec.whatwg.org/index-euc-kr.txt")
 	if err != nil {
diff --git a/encoding/korean/tables.go b/encoding/korean/tables.go
index eb8b451..0480e85 100644
--- a/encoding/korean/tables.go
+++ b/encoding/korean/tables.go
@@ -1,7 +1,7 @@
 // generated by go run maketables.go; DO NOT EDIT
 
 // Package korean provides Korean encodings such as EUC-KR.
-package korean
+package korean // import "golang.org/x/text/encoding/korean"
 
 // decode is the decoding table from EUC-KR code to Unicode.
 // It is defined at http://encoding.spec.whatwg.org/index-euc-kr.txt
diff --git a/encoding/simplifiedchinese/maketables.go b/encoding/simplifiedchinese/maketables.go
index f6007bb..4b1f0bd 100644
--- a/encoding/simplifiedchinese/maketables.go
+++ b/encoding/simplifiedchinese/maketables.go
@@ -21,7 +21,7 @@
 func main() {
 	fmt.Printf("// generated by go run maketables.go; DO NOT EDIT\n\n")
 	fmt.Printf("// Package simplifiedchinese provides Simplified Chinese encodings such as GBK.\n")
-	fmt.Printf("package simplifiedchinese\n\n")
+	fmt.Printf(`package simplifiedchinese // import "golang.org/x/text/encoding/simplifiedchinese"\n\n`)
 
 	printGB18030()
 	printGBK()
diff --git a/encoding/simplifiedchinese/tables.go b/encoding/simplifiedchinese/tables.go
index fac299d..415f52a 100644
--- a/encoding/simplifiedchinese/tables.go
+++ b/encoding/simplifiedchinese/tables.go
@@ -1,7 +1,7 @@
 // generated by go run maketables.go; DO NOT EDIT
 
 // Package simplifiedchinese provides Simplified Chinese encodings such as GBK.
-package simplifiedchinese
+package simplifiedchinese // import "golang.org/x/text/encoding/simplifiedchinese"
 
 // gb18030 is the table from http://encoding.spec.whatwg.org/index-gb18030.txt
 var gb18030 = [...][2]uint16{
diff --git a/encoding/traditionalchinese/maketables.go b/encoding/traditionalchinese/maketables.go
index 454ccab..3c39d02 100644
--- a/encoding/traditionalchinese/maketables.go
+++ b/encoding/traditionalchinese/maketables.go
@@ -21,7 +21,7 @@
 func main() {
 	fmt.Printf("// generated by go run maketables.go; DO NOT EDIT\n\n")
 	fmt.Printf("// Package traditionalchinese provides Traditional Chinese encodings such as Big5.\n")
-	fmt.Printf("package traditionalchinese\n\n")
+	fmt.Printf(`package traditionalchinese // import "golang.org/x/text/encoding/traditionalchinese"\n\n`)
 
 	res, err := http.Get("http://encoding.spec.whatwg.org/index-big5.txt")
 	if err != nil {
diff --git a/encoding/traditionalchinese/tables.go b/encoding/traditionalchinese/tables.go
index b0d23c7..d909e38 100644
--- a/encoding/traditionalchinese/tables.go
+++ b/encoding/traditionalchinese/tables.go
@@ -1,7 +1,7 @@
 // generated by go run maketables.go; DO NOT EDIT
 
 // Package traditionalchinese provides Traditional Chinese encodings such as Big5.
-package traditionalchinese
+package traditionalchinese // import "golang.org/x/text/encoding/traditionalchinese"
 
 // decode is the decoding table from Big5 code to Unicode.
 // It is defined at http://encoding.spec.whatwg.org/index-big5.txt
diff --git a/encoding/unicode/unicode.go b/encoding/unicode/unicode.go
index 2ec3313..aa484dc 100644
--- a/encoding/unicode/unicode.go
+++ b/encoding/unicode/unicode.go
@@ -3,7 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // Package unicode provides Unicode encodings such as UTF-16.
-package unicode
+package unicode // import "golang.org/x/text/encoding/unicode"
 
 import (
 	"errors"
diff --git a/internal/triegen/triegen.go b/internal/triegen/triegen.go
index 21d571c..adb0108 100644
--- a/internal/triegen/triegen.go
+++ b/internal/triegen/triegen.go
@@ -55,7 +55,7 @@
 // It is recommended that users test the generated trie by checking the returned
 // value for every rune. Such exhaustive tests are possible as the the number of
 // runes in Unicode is limited.
-package triegen
+package triegen // import "golang.org/x/text/internal/triegen"
 
 // TODO: Arguably, the internally optimized data types would not have to be
 // exposed in the generated API. We could also investigate not generating the
diff --git a/internal/ucd/ucd.go b/internal/ucd/ucd.go
index 0b0e5a0..04ce069 100644
--- a/internal/ucd/ucd.go
+++ b/internal/ucd/ucd.go
@@ -7,7 +7,7 @@
 // http://www.unicode.org/Public/UCD/latest/ucd/ for example files.
 //
 // It currently does not support substitutions of missing fields.
-package ucd
+package ucd // import "golang.org/x/text/internal/ucd"
 
 import (
 	"bufio"
diff --git a/language/language.go b/language/language.go
index cfd9787..100efd2 100644
--- a/language/language.go
+++ b/language/language.go
@@ -19,7 +19,7 @@
 //
 // NOTE: This package is still under development. Parts of it are not yet
 // implemented, and the API is subject to change.
-package language
+package language // import "golang.org/x/text/language"
 
 //go:generate go run maketables.go gen_common.go -output tables.go
 
diff --git a/transform/transform.go b/transform/transform.go
index 157ee78..164ecca 100644
--- a/transform/transform.go
+++ b/transform/transform.go
@@ -6,7 +6,7 @@
 // bytes passing through as well as various transformations. Example
 // transformations provided by other packages include normalization and
 // conversion between character sets.
-package transform
+package transform // import "golang.org/x/text/transform"
 
 import (
 	"bytes"
diff --git a/unicode/norm/normalize.go b/unicode/norm/normalize.go
index d817284..7c1185f 100644
--- a/unicode/norm/normalize.go
+++ b/unicode/norm/normalize.go
@@ -3,7 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // Package norm contains types and functions for normalizing Unicode strings.
-package norm
+package norm // import "golang.org/x/text/unicode/norm"
 
 import "unicode/utf8"