Skip to content

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

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

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

Comments

@markuswustenberg
Copy link

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 this to the Unreleased milestone Dec 10, 2020
@jamalc
Copy link

jamalc commented Dec 10, 2020

Duplicate of #39813

@jamalc jamalc marked this as a duplicate of #39813 Dec 10, 2020
@jamalc jamalc closed this as completed Dec 10, 2020
@golang golang locked and limited conversation to collaborators Dec 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants