We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fed2a4 commit 6399d21Copy full SHA for 6399d21
go/analysis/passes/reflectvaluecompare/cmd/reflectvaluecompare/main.go
@@ -0,0 +1,18 @@
1
+// Copyright 2025 The Go Authors. All rights reserved.
2
+// Use of this source code is governed by a BSD-style
3
+// license that can be found in the LICENSE file.
4
+
5
+// The reflectvaluecompare command applies the reflectvaluecompare
6
+// checker to the specified packages of Go source code.
7
+//
8
+// Run with:
9
10
+// $ go run ./go/analysis/passes/reflectvaluecompare/cmd/reflectvaluecompare -- packages...
11
+package main
12
13
+import (
14
+ "golang.org/x/tools/go/analysis/passes/reflectvaluecompare"
15
+ "golang.org/x/tools/go/analysis/singlechecker"
16
+)
17
18
+func main() { singlechecker.Main(reflectvaluecompare.Analyzer) }
0 commit comments