Is it possible to use go doc
to view all sub-packages defined under a specific package?
Say, I want to view all sub-packages under crypto
.
go doc crypto
only lists what crypto
defines, but no information about its sub-packages, like crypto/aes
and crypto/cipher
:
go doc crypto
package crypto // import "crypto"
Package crypto collects common cryptographic constants.
func RegisterHash(h Hash, f func() hash.Hash)
type Decrypter interface{ ... }
type DecrypterOpts interface{}
type Hash uint
const MD4 Hash = 1 + iota ...
...