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
Open

Comments

@rsc
Copy link
Contributor

@rsc 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants