Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/godoc: some consts are not well represented #5397
See for example this page: http://tip.golang.org/pkg/reflect/#pkg-constants The SelectDir constants are defined in the source, not unusually, like this: const ( _ SelectDir = iota SelectSend // case Chan <- Send SelectRecv // case <-Chan: SelectDefault // default ) Unfortunately in the documentation the type is lost. Those constants should probably appear under the SelectDir type as, for example, the ChanDir constants do.