dmitri.shuralyov.com/website/gido/...

Regenerate golang.org/x/... list of packages.

Regenerate with all golang.org/x/... packages in GOPATH, based on list
at https://github.com/golang/tools/blob/96caea41033df6f8c3974c845ab094f8ec3bd345/cmd/godoc/x.go#L27-L50.
dmitshur committed 1 year ago commit 8ce3fa6b13a17c88179dd182d9ae51c2383aef67
packages.go
@@ -1,9 +1,9 @@
 package main
 
-// TODO: I was missing some golang.org/x/... packages in my GOPATH when generating
-//       this list, so it's incomplete.
+// TODO: Consider including directories from GOROOT other than just packages in GOROOT/src.
+// TODO: Consider including special prefixes such as "all:", "build:", "gccgo:", "website:", "wiki:", etc.
 
 // existingPackages is a set of import paths of Go packages that are known to exist.
 // It includes packages in Go standard library and sub-repositories.
 //
 // The list is generated with:
@@ -308,10 +308,37 @@ var existingPackages = map[string]struct{}{
 	"vendor/golang_org/x/text/transform":                            {},
 	"vendor/golang_org/x/text/unicode":                              {},
 	"vendor/golang_org/x/text/unicode/bidi":                         {},
 	"vendor/golang_org/x/text/unicode/norm":                         {},
 
+	"golang.org/x/arch/arm/armasm":                           {},
+	"golang.org/x/arch/arm/armmap":                           {},
+	"golang.org/x/arch/arm/armspec":                          {},
+	"golang.org/x/arch/arm64/arm64asm":                       {},
+	"golang.org/x/arch/arm64/arm64spec":                      {},
+	"golang.org/x/arch/ppc64/ppc64asm":                       {},
+	"golang.org/x/arch/ppc64/ppc64map":                       {},
+	"golang.org/x/arch/ppc64/ppc64spec":                      {},
+	"golang.org/x/arch/x86/x86asm":                           {},
+	"golang.org/x/arch/x86/x86avxgen":                        {},
+	"golang.org/x/arch/x86/x86csv":                           {},
+	"golang.org/x/arch/x86/x86map":                           {},
+	"golang.org/x/arch/x86/x86spec":                          {},
+	"golang.org/x/benchmarks/build":                          {},
+	"golang.org/x/benchmarks/driver":                         {},
+	"golang.org/x/benchmarks/garbage":                        {},
+	"golang.org/x/benchmarks/http":                           {},
+	"golang.org/x/benchmarks/json":                           {},
+	"golang.org/x/blog/blog":                                 {},
+	"golang.org/x/blog/content/context/google":               {},
+	"golang.org/x/blog/content/context/server":               {},
+	"golang.org/x/blog/content/context/userip":               {},
+	"golang.org/x/blog/content/cover":                        {},
+	"golang.org/x/blog/content/h2push/server":                {},
+	"golang.org/x/blog/content/survey2016":                   {},
+	"golang.org/x/blog/content/survey2017":                   {},
+	"golang.org/x/blog/support/racy":                         {},
 	"golang.org/x/build":                                     {},
 	"golang.org/x/build/auth":                                {},
 	"golang.org/x/build/autocertcache":                       {},
 	"golang.org/x/build/buildenv":                            {},
 	"golang.org/x/build/buildlet":                            {},
@@ -457,10 +484,25 @@ var existingPackages = map[string]struct{}{
 	"golang.org/x/crypto/ssh/test":                           {},
 	"golang.org/x/crypto/tea":                                {},
 	"golang.org/x/crypto/twofish":                            {},
 	"golang.org/x/crypto/xtea":                               {},
 	"golang.org/x/crypto/xts":                                {},
+	"golang.org/x/debug":                                     {},
+	"golang.org/x/debug/arch":                                {},
+	"golang.org/x/debug/cmd/debugproxy":                      {},
+	"golang.org/x/debug/cmd/viewcore":                        {},
+	"golang.org/x/debug/core":                                {},
+	"golang.org/x/debug/dwarf":                               {},
+	"golang.org/x/debug/elf":                                 {},
+	"golang.org/x/debug/gocore":                              {},
+	"golang.org/x/debug/gosym":                               {},
+	"golang.org/x/debug/local":                               {},
+	"golang.org/x/debug/macho":                               {},
+	"golang.org/x/debug/remote":                              {},
+	"golang.org/x/debug/server":                              {},
+	"golang.org/x/debug/server/protocol":                     {},
+	"golang.org/x/debug/tests/peek":                          {},
 	"golang.org/x/exp/ebnf":                                  {},
 	"golang.org/x/exp/ebnflint":                              {},
 	"golang.org/x/exp/io/i2c":                                {},
 	"golang.org/x/exp/io/i2c/driver":                         {},
 	"golang.org/x/exp/io/i2c/example/displayip":              {},
@@ -536,14 +578,10 @@ var existingPackages = map[string]struct{}{
 	"golang.org/x/mobile/bind":                               {},
 	"golang.org/x/mobile/bind/benchmark":                     {},
 	"golang.org/x/mobile/bind/java":                          {},
 	"golang.org/x/mobile/bind/objc":                          {},
 	"golang.org/x/mobile/bind/seq":                           {},
-	"golang.org/x/mobile/bind/testpkg":                       {},
-	"golang.org/x/mobile/bind/testpkg/secondpkg":             {},
-	"golang.org/x/mobile/bind/testpkg/simplepkg":             {},
-	"golang.org/x/mobile/bind/testpkg/unboundpkg":            {},
 	"golang.org/x/mobile/cmd/gobind":                         {},
 	"golang.org/x/mobile/cmd/gomobile":                       {},
 	"golang.org/x/mobile/event/key":                          {},
 	"golang.org/x/mobile/event/lifecycle":                    {},
 	"golang.org/x/mobile/event/mouse":                        {},
@@ -647,10 +685,11 @@ var existingPackages = map[string]struct{}{
 	"golang.org/x/perf/storage/fs":                           {},
 	"golang.org/x/perf/storage/fs/gcs":                       {},
 	"golang.org/x/perf/storage/fs/local":                     {},
 	"golang.org/x/perf/storage/localperfdata":                {},
 	"golang.org/x/perf/storage/query":                        {},
+	"golang.org/x/playground":                                {},
 	"golang.org/x/review/git-codereview":                     {},
 	"golang.org/x/sync/errgroup":                             {},
 	"golang.org/x/sync/semaphore":                            {},
 	"golang.org/x/sync/singleflight":                         {},
 	"golang.org/x/sync/syncmap":                              {},
@@ -676,10 +715,11 @@ var existingPackages = map[string]struct{}{
 	"golang.org/x/talks/2017/state-of-go-may/exec":           {},
 	"golang.org/x/talks/2017/state-of-go-may/exec/getenv":    {},
 	"golang.org/x/talks/2017/state-of-go-may/html":           {},
 	"golang.org/x/talks/2017/state-of-go-may/syncmap":        {},
 	"golang.org/x/talks/2017/state-of-go/stdlib/sort":        {},
+	"golang.org/x/term":                                      {},
 	"golang.org/x/text":                                      {},
 	"golang.org/x/text/cases":                                {},
 	"golang.org/x/text/cmd/gotext":                           {},
 	"golang.org/x/text/cmd/gotext/examples/extract":          {},
 	"golang.org/x/text/cmd/gotext/examples/extract_http":     {},
@@ -738,10 +778,11 @@ var existingPackages = map[string]struct{}{
 	"golang.org/x/text/unicode/cldr":                         {},
 	"golang.org/x/text/unicode/norm":                         {},
 	"golang.org/x/text/unicode/rangetable":                   {},
 	"golang.org/x/text/unicode/runenames":                    {},
 	"golang.org/x/text/width":                                {},
+	"golang.org/x/time/rate":                                 {},
 	"golang.org/x/tools/benchmark/parse":                     {},
 	"golang.org/x/tools/blog":                                {},
 	"golang.org/x/tools/blog/atom":                           {},
 	"golang.org/x/tools/cmd/benchcmp":                        {},
 	"golang.org/x/tools/cmd/bundle":                          {},
@@ -813,8 +854,7 @@ var existingPackages = map[string]struct{}{
 	"golang.org/x/tour/gotour":                               {},
 	"golang.org/x/tour/pic":                                  {},
 	"golang.org/x/tour/reader":                               {},
 	"golang.org/x/tour/tree":                                 {},
 	"golang.org/x/tour/wc":                                   {},
-
-	"golang.org/x/vgo": {},
+	"golang.org/x/vgo":                                       {},
 }