You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Look at the output of godoc net/mail (notice godoc x go doc)
What did you expect to see?
https://golang.org/pkg/net/mail/ should show func ParseAddressList(list string) ([]*Address, error) under type Address, just like the other ways of reading docs: local godoc -http, godoc.org, go doc and godoc.
As the screenshot above shows, https://golang.org/pkg/net/mail/ has func ParseAddressList(list string) ([]*Address, error) detached from type Address in the Index listing, unlike all other ways of consuming documentation.
The text was updated successfully, but these errors were encountered:
Looks like this is working correctly at tip (https://tip.golang.org/pkg/net/mail/). But it should work in golang.org too. I checked out the 1.10 branch of tools repo and ran godoc locally and saw that the behavior is correct there.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What did you do?
godoc -http :6060
and visit http://localhost:6060/pkg/net/mail/Look at the output of
go doc net/mail
Look at the output of
godoc net/mail
(noticegodoc
xgo doc
)What did you expect to see?
https://golang.org/pkg/net/mail/ should show
func ParseAddressList(list string) ([]*Address, error)
undertype Address
, just like the other ways of reading docs: localgodoc -http
, godoc.org,go doc
andgodoc
.The footer in https://golang.org/pkg/net/mail/ says "Build version go1.10.1.", and the Go 1.10 Release Notes document the new
go doc
behavior.What did you see instead?
As the screenshot above shows, https://golang.org/pkg/net/mail/ has
func ParseAddressList(list string) ([]*Address, error)
detached fromtype Address
in the Index listing, unlike all other ways of consuming documentation.The text was updated successfully, but these errors were encountered: