]> Cypherpunks.ru repositories - gostls13.git/commit
go/doc: use go/doc/comment
authorRuss Cox <rsc@golang.org>
Mon, 7 Feb 2022 22:24:40 +0000 (17:24 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 11 Apr 2022 16:31:52 +0000 (16:31 +0000)
commit27b7b1fa19b5d8c8855859ca64b52f960a446ce7
tree4a9dd3d5e97995a00980163fd757ede56161900d
parent8b4ded3ef379c721fbd7bff76cf8dd4504b4738c
go/doc: use go/doc/comment

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

Use go/doc/comment to implement the existing go/doc comment APIs,
as well as adding new APIs more tailored to the new world.

For #51082.

Change-Id: I05b97ecedbf7cf7b8dede7ace6736ed6d89204a9
Reviewed-on: https://go-review.googlesource.com/c/go/+/384265
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
api/next/51082.txt
src/go/build/deps_test.go
src/go/doc/comment.go
src/go/doc/comment_test.go
src/go/doc/doc.go
src/go/doc/doc_test.go
src/go/doc/reader.go
src/go/doc/synopsis.go
src/go/doc/synopsis_test.go
src/go/doc/testdata/pkgdoc/doc.go [new file with mode: 0644]