]> Cypherpunks repositories - gostls13.git/commit
go/doc: link to struct fields in the same package
authorSean Liao <sean@liao.dev>
Sun, 14 Dec 2025 18:48:51 +0000 (18:48 +0000)
committerSean Liao <sean@liao.dev>
Fri, 19 Dec 2025 21:19:23 +0000 (13:19 -0800)
commitd46c58debba9d194a98388984931645c3aed0e3e
tree65e6625e64d88fe788430a49e6f75955dd797991
parent25ed6c7f9b1985688cc9b09b2afdda54fc8932bd
go/doc: link to struct fields in the same package

This collects up any struct direct field references
for linking. It does not attempt to do any validation
of embedded field conflicts as in CL 510315.

For #61394

Change-Id: I57dc0a0e8a71ce0bcb4e6c0963f459f76a6a6964
Reviewed-on: https://go-review.googlesource.com/c/go/+/729980
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Michael Matloob <matloob@google.com>
src/go/doc/comment_test.go
src/go/doc/doc.go
src/go/doc/testdata/pkgdoc/doc.go