]> Cypherpunks repositories - gostls13.git/commit
cmd/doc: do not show unexported constants
authorRob Pike <r@golang.org>
Tue, 2 Jun 2015 21:43:38 +0000 (14:43 -0700)
committerRob Pike <r@golang.org>
Thu, 4 Jun 2015 21:51:49 +0000 (21:51 +0000)
commitea92f42cc8b36511501644ff0512934619e16cf1
treea983413d31a8b7030e947e1f8594cf9f8a6c5f8d
parenta7d2d4835b8dab9b1be6a3f772bb74d22fe9f312
cmd/doc: do not show unexported constants

The go/doc package doesn't remove unexported entries from const
and var blocks, so we must trim them ourselves.

Fixes #11008

Change-Id: Ibd60d87e09333964e2588340a2ca2b8804bbaa28
Reviewed-on: https://go-review.googlesource.com/10643
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/doc/pkg.go