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
Those constants are not exported. godoc only documents exported symbols. But I'll leave this issue open because it's odd that godoc is reporting about _ all by itself.
ianlancetaylor
changed the title
x/tools/cmd/godoc: Constants dont display correctly on golang.org/pkg/time/#pkg-constants
x/tools/cmd/godoc: _ reported by itself as a constant
Mar 17, 2016
What version of Go are you using (
go version
)?go version go1.6 darwin/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
Went to https://golang.org/pkg/time/#pkg-constants to try and show an associate how to use the time package and noticed that these (https://github.com/golang/go/blob/release-branch.go1.6/src/time/format.go#L73-L113) time constants were not showing correctly in the documentation.
What did you expect to see?
I expect to see this:
What did you see instead?
But only see this on the website:
The text was updated successfully, but these errors were encountered: