cmd/go: unexpected output with go doc std #53446
Labels
GoCommand
cmd/go
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
go version go1.19beta1 linux/amd64
Does this issue reproduce with the latest release?
Yes
What did you do?
Originally, I was attempting list all standard packages via
go list std
. I tried to find documentationgo help list
that confirms the use of "std" as some kind of proxy for listing the standard library. That led me togo doc std
.What did you expect to see?
I expected to see nothing (as its not a package) , or some kind of magic placeholder, or some kind of invalid package error.
What did you see instead?
What I think I see is the first standard library package in alpha order,
archive/tar
.Maybe
std
is meant to be magic, but if its not, it seems that it would documented ingo help list
and clearer usage withgo doc std
. I could also just be wrong on its usage (found via some random posts).The text was updated successfully, but these errors were encountered: