Skip to content

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

@rsc

Description

@rsc

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 ....

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.pkgsite

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions