Skip to content

Commit b97074b

Browse files
jbagopherbot
authored andcommitted
internal/gofix: fix URLs
Change-Id: Id09d42501c242ca702f251e6c06ca5047f7b4ac7 Reviewed-on: https://go-review.googlesource.com/c/tools/+/662956 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Jonathan Amsterdam <jba@google.com> Reviewed-by: Alan Donovan <adonovan@google.com>
1 parent e850fe1 commit b97074b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

gopls/doc/analyzers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ The gofix analyzer inlines functions and constants that are marked for inlining.
298298

299299
Default: on.
300300

301-
Package documentation: [gofix](https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/gofix)
301+
Package documentation: [gofix](https://pkg.go.dev/golang.org/x/tools/internal/gofix)
302302

303303
<a id='hostport'></a>
304304
## `hostport`: check format of addresses passed to net.Dial

gopls/internal/doc/api.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1297,7 +1297,7 @@
12971297
{
12981298
"Name": "gofix",
12991299
"Doc": "apply fixes based on go:fix comment directives\n\nThe gofix analyzer inlines functions and constants that are marked for inlining.",
1300-
"URL": "https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/gofix",
1300+
"URL": "https://pkg.go.dev/golang.org/x/tools/internal/gofix",
13011301
"Default": true
13021302
},
13031303
{

internal/gofix/gofix.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var doc string
3434
var Analyzer = &analysis.Analyzer{
3535
Name: "gofix",
3636
Doc: analysisinternal.MustExtractDoc(doc, "gofix"),
37-
URL: "https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/gofix",
37+
URL: "https://pkg.go.dev/golang.org/x/tools/internal/gofix",
3838
Run: func(pass *analysis.Pass) (any, error) { return run(pass, true) },
3939
FactTypes: []analysis.Fact{
4040
(*goFixInlineFuncFact)(nil),
@@ -47,7 +47,7 @@ var Analyzer = &analysis.Analyzer{
4747
var DirectiveAnalyzer = &analysis.Analyzer{
4848
Name: "gofixdirective",
4949
Doc: analysisinternal.MustExtractDoc(doc, "gofixdirective"),
50-
URL: "https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/gofix",
50+
URL: "https://pkg.go.dev/golang.org/x/tools/internal/gofix",
5151
Run: func(pass *analysis.Pass) (any, error) { return run(pass, false) },
5252
FactTypes: []analysis.Fact{
5353
(*goFixInlineFuncFact)(nil),

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy