x/pkgsite: don't group functions under types, except constructors and methods #40927
What is the URL of the page with the issue?
What is your user agent?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36
What did you do?
Look for documentation on
What did you expect to see?
In general, I'd expect to see all exported functions grouped there, except for methods and constructors. I'd define a constructor as a function named
What did you see instead?
I think it's grouped with
This isn't new behavior in pkg.go.dev. Both https://golang.org/pkg/net/http and https://godoc.org/net/http have this behavior, too. The new left sidebar is much more prominent than the index was on those sites, so this issue is more of a problem now.
The text was updated successfully, but these errors were encountered: