Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go/doc/comment: Unrendered link syntax in Printer.DocLinkBaseURL doc #61241

Closed
willfaught opened this issue Jul 9, 2023 · 1 comment
Closed

Comments

@willfaught
Copy link
Contributor

Expected:

type Printer struct {
...
	// DocLinkBaseURL is used when DocLinkURL is nil,
	// passed to DocLink.DefaultURL to construct a DocLink's URL.
	// See that method's documentation for details.
	DocLinkBaseURL [string](https://pkg.go.dev/builtin#string)

(with "DocLink.DefaultURL" being a hyperlink on web, and plain text in terminal)

Actual:

type Printer struct {
...
	// DocLinkBaseURL is used when DocLinkURL is nil,
	// passed to [DocLink.DefaultURL] to construct a DocLink's URL.
	// See that method's documentation for details.
	DocLinkBaseURL [string](https://pkg.go.dev/builtin#string)

See https://pkg.go.dev/go/doc/comment#Printer.

@seankhliao
Copy link
Member

Duplicate of #39963

@seankhliao seankhliao marked this as a duplicate of #39963 Jul 9, 2023
@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale Jul 9, 2023
vangirja referenced this issue Jul 17, 2023
The freebsd/arm64 port was added in go1.14, make cmd/api aware of it and
backfill API files.

For #58582

Change-Id: I8b25c6cf5a66611d90d225762b257679a4abface
Reviewed-on: https://go-review.googlesource.com/c/go/+/469115
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Dmitri Goutnik <dgoutnik@gmail.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants