| Age | Commit message (Collapse) | Author | 
|---|
|  | Turns out this isn't what we want, as assignments means assignments. I
was actually thinking of declarations. | 
|  |  | 
|  | Don't report variables that were passed as arguments to the closure. | 
|  |  | 
|  |  | 
|  | This does ignore "strings" and "Repeat" in the "simple.go" test file. | 
|  | Inspect function literals run by `go` statements, and find all variables
in those function literals. | 
|  | 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 |