golang / gddo

Go Doc Dot Org
https://godoc.org
BSD 3-Clause "New" or "Revised" License
1.1k stars 266 forks source link

List packages even if they use a different import path #601

Open leonklingele opened 5 years ago

leonklingele commented 5 years ago

When I checked the docs for https://github.com/golang/sync on godoc.org (https://godoc.org/github.com/golang/sync), I wondered why the website shows only two packages (errgroup and syncmap), yet the GitHub repo lists four (errgroup, syncmap, semaphore and singleflight). It seems the reason for this is that semaphore and singleflight require an import path of golang.org/x/sync/semaphore / golang.org/x/sync/singleflight.

Please also list such additional packages which require a different import path (URLs have been set up already: https://godoc.org/github.com/golang/sync/semaphore redirects to https://godoc.org/golang.org/x/sync/semaphore) or