diff options
| author | Teddy Wing | 2023-05-14 21:21:06 +0200 |
|---|---|---|
| committer | Teddy Wing | 2023-05-14 21:26:36 +0200 |
| commit | 6d91d473f24d6825170e494852b26ffc748fe542 (patch) | |
| tree | b4d5ec4ca1f1a46390407b0023eebfe6232ca2b2 /go.mod | |
| parent | 27b71d7c8fdedca306885d078be5a35a39669907 (diff) | |
| download | gocapturedrefrace-6d91d473f24d6825170e494852b26ffc748fe542.tar.bz2 | |
Find `go` statements using Go analyzer
Build a basic Go analyser that finds `go` statements.
Currently testing this with:
$ go run ./cmd/gocapturedrefrace ./testdata/
Using the following tutorials as a guide:
* https://arslan.io/2019/06/13/using-go-analysis-to-write-a-custom-linter/
* https://scribe.rip/codex/writing-custom-linter-in-go-54ef6f8080
Diffstat (limited to 'go.mod')
| -rw-r--r-- | go.mod | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -0,0 +1,10 @@ +module git.teddywing.com/gocapturedrefrace + +go 1.20 + +require golang.org/x/tools v0.9.1 + +require ( + golang.org/x/mod v0.10.0 // indirect + golang.org/x/sys v0.8.0 // indirect +) |
