Skip to content

Commit c3aae99

Browse files
adonovangopherbot
authored andcommitted
gopls/doc: tidy up analyzer documentation
Details: - add introduction. - change generator to put title in H2 heading, and add anchors. - organize list of analyzers in gopls settings. - fix typos. Change-Id: Ie559a331a2ac51171c366104416d53a8329afe7c Reviewed-on: https://go-review.googlesource.com/c/tools/+/586779 Reviewed-by: Robert Findley <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Alan Donovan <[email protected]>
1 parent 41211c8 commit c3aae99

File tree

8 files changed

+293
-249
lines changed

8 files changed

+293
-249
lines changed

go/analysis/passes/copylock/copylock.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ values should be referred to through a pointer.`
3131
var Analyzer = &analysis.Analyzer{
3232
Name: "copylocks",
3333
Doc: Doc,
34-
URL: "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/copylocks",
34+
URL: "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/copylock",
3535
Requires: []*analysis.Analyzer{inspect.Analyzer},
3636
RunDespiteErrors: true,
3737
Run: run,

0 commit comments

Comments
 (0)