Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/pkgsite: storage.Client displays as struct {} instead of struct { ... } in snippet #49599

Open
rsc opened this issue Nov 16, 2021 · 0 comments
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. pkgsite

Comments

@rsc
Copy link
Contributor

rsc commented Nov 16, 2021

What is the URL of the page with the issue?

https://pkg.go.dev/search?q=storage.Client&m=symbol

What is your user agent?

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36

Screenshot

Screen Shot 2021-11-15 at 7 05 15 PM

What did you do?

Search for storage.Client.

What did you expect to see?

I expected the top snippet, for cloud.google.com/go/storage's Client,
to say type Client struct { ... }, like the many other results.

What did you see instead?

It says type struct {} instead, which is unexpected and (I think) inaccurate.
Clicking through to type Client shows:

Screen Shot 2021-11-15 at 7 08 27 PM

which supports the expectation of the ....

@gopherbot gopherbot added this to the pkgsite/unplanned milestone Nov 16, 2021
@jamalc jamalc added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. pkgsite
Projects
None yet
Development

No branches or pull requests

3 participants