Skip to content

Commit 80c3b78

Browse files
mpywclaude
andcommitted
feat: add cmd/goroutinectx for standalone CLI usage
Enables: - go install github.com/mpyw/goroutinectx/cmd/goroutinectx@latest - go vet -vettool=$(which goroutinectx) ./... 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 5012f26 commit 80c3b78

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

cmd/goroutinectx/main.go

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Command goroutinectx is a linter that checks goroutine context propagation.
2+
package main
3+
4+
import (
5+
"github.com/mpyw/goroutinectx"
6+
"golang.org/x/tools/go/analysis/singlechecker"
7+
)
8+
9+
func main() {
10+
singlechecker.Main(goroutinectx.Analyzer)
11+
}

0 commit comments

Comments
 (0)