Thanks Pierre. I'd forgotten that feature, documented here:
https://docs.google.com/document/d/1e8kOo3r51b2BWtTs_1uADIA5djfXhPT36s6eHVRIvaU/edit
On Thursday, November 8, 2018 at 12:51:05 PM UTC, Pierre Curto wrote:
>
> If you want to hide packages that you use only for your main package, then
>
If you want to hide packages that you use only for your main package, then
put them under the internal directory within your main package.
That way, they are still available from your main package (or any sub
package) but not outside of it, including in godoc.
i.e.
top/
top.go
intern