Why go doc math doesn't show constants?

Hi,
I’ve noticed that go doc math only shows E, MaxFloat32 and MaxInt8 constants. All others are not mentioned… We have to read golang.org/pkg/math/ to discover all of them.

They appear with go doc math.Pi, but it’s a quite surprising behavior.
Is there a reason for this?

try
go doc -all math.
It seems short processing only show the first constants found

HTH,
Yamil

Thank you !

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.