默认情况下,未记录未导出的标识符。至少设置
?m=all为查看它们:
可以使用“ m” URL参数来控制godoc服务的网页的显示方式;它接受以逗号分隔的标志名称列表作为值:
all show documentation for all declarations, not just the exportedones
methods show all embedded methods, not just those of unexported
anonymous fields
src show the original source pre rather then the extracted
documentation例如,https://golang.org/pkg/math/big/?m=
all显示了big包的所有(不仅是导出的)声明的文档。
https://godoc.org/golang.org/x/tools/cmd/godoc



