[go] go/doc: link to struct fields in the same package

2 views
Skip to first unread message

Sean Liao (Gerrit)

unread,
Dec 19, 2025, 4:19:31 PM (2 days ago) Dec 19
to goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Michael Knyszek, Michael Matloob, Michael Matloob, Go LUCI, Alan Donovan, golang-co...@googlegroups.com

Sean Liao submitted the change

Change information

Commit message:
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-by: Michael Matloob <mat...@golang.org>
Reviewed-by: Michael Knyszek <mkny...@google.com>
Reviewed-by: Michael Matloob <mat...@google.com>
Files:
  • M src/go/doc/comment_test.go
  • M src/go/doc/doc.go
  • M src/go/doc/testdata/pkgdoc/doc.go
Change size: S
Delta: 3 files changed, 26 insertions(+), 7 deletions(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Michael Matloob, +2 by Michael Matloob, +1 by Michael Knyszek
  • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I57dc0a0e8a71ce0bcb4e6c0963f459f76a6a6964
Gerrit-Change-Number: 729980
Gerrit-PatchSet: 2
Gerrit-Owner: Sean Liao <se...@liao.dev>
Gerrit-Reviewer: Alan Donovan <adon...@google.com>
Gerrit-Reviewer: Michael Knyszek <mkny...@google.com>
Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
Gerrit-Reviewer: Michael Matloob <mat...@google.com>
Gerrit-Reviewer: Sean Liao <se...@liao.dev>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages