]> Cypherpunks repositories - gostls13.git/commit
cmd/doc: use new go/doc APIs
authorRuss Cox <rsc@golang.org>
Tue, 8 Feb 2022 18:43:40 +0000 (13:43 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 11 Apr 2022 16:31:53 +0000 (16:31 +0000)
commit017933163ab6a2b254f0310c61b57db65cded92e
treecb46e03176522d228b39e8061478562466f0dd9f
parent27b7b1fa19b5d8c8855859ca64b52f960a446ce7
cmd/doc: use new go/doc APIs

[This CL is part of a sequence implementing the proposal #51082.
The design doc is at https://go.dev/s/godocfmt-design.]

Use the new per-Package go/doc API instead of the
top-level functions from go/doc. These handle links better.

For #51082.

Change-Id: I169b46d973673abdb6f126352c9f1e30f9fe1122
Reviewed-on: https://go-review.googlesource.com/c/go/+/384266
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/doc/pkg.go