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: Functions grouped under type even though not methods #43115

Closed
markuswustenberg opened this issue Dec 10, 2020 · 1 comment
Closed

x/pkgsite: Functions grouped under type even though not methods #43115

markuswustenberg opened this issue Dec 10, 2020 · 1 comment
Labels
Milestone

Comments

@markuswustenberg
Copy link

@markuswustenberg markuswustenberg commented Dec 10, 2020

What is the URL of the page with the issue?

https://pkg.go.dev/github.com/maragudk/gomponents

What is your user agent?

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.1 Safari/605.1.15

Screenshot

image

What did you do?

Just visited the page.

What did you expect to see?

I expected to see package-level functions like Attr and Map (under Node) and El (under NodeFunc) listed as separate functions for the package. I would expect the functions with the receivers to be shown as methods, and the other functions shown under package-level functions.

What did you see instead?

The functions are grouped with the methods of the types, even though they are not methods themselves, but just return the type.

@gopherbot gopherbot added the pkgsite label Dec 10, 2020
@gopherbot gopherbot added this to the Unreleased milestone Dec 10, 2020
@jamalc
Copy link
Member

@jamalc jamalc commented Dec 10, 2020

Duplicate of #39813

@jamalc jamalc marked this as a duplicate of #39813 Dec 10, 2020
@jamalc jamalc closed this Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants