x/pkgsite: add "Package files" section for commands #41396
Labels
FeatureRequest
Issues asking for a new feature that does not need a proposal.
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
pkgsite
Milestone
What is the URL of the page with the issue?
https://pkg.go.dev/github.com/google/gopacket/examples/httpassembly?tab=doc
What is your user agent?
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0
Screenshot
not relevant
What did you do?
Just went to the doc page for this package
What did you expect to see?
A
Package files
section, with links to the underlying code files, as the formergodoc.org
site would offer :https://godoc.org/github.com/google/gopacket/examples/httpassembly?tab=doc
has a
main.go
link, which leads to :https://github.com/google/gopacket/blob/master/examples/httpassembly/main.go
What did you see instead?
I found no such link, in none of the tabs of the
pkg.go.dev
version for this url.In this specific case, there is no public symbol to "document", and the documentation clearly implies "go read the code of the main function", so the lack of
Package files
section is particularly emphasized here.The text was updated successfully, but these errors were encountered: