aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
AgeCommit message (Collapse)Author
2024-03-10Increase version v0.0.1 -> v0.0.2HEADv0.0.2masterTeddy Wing
2023-05-18gocapturedrefrace/main: Add version command line argumentTeddy Wing
I don't need to use the `flags` package here for a single boolean option. Previously I had tried with `flags` but it conflicted with the flags defined by `analyzer.Analyzer`.
2023-05-18Rename package to "capturedrefrace"Teddy Wing
I decided I don't like the "go" prefix for a Go package name. It doesn't make sense. Rename the module and package accordingly. I do like the "go" prefix in the command line program, so leave it there.
2023-05-18Remove version flag TODOTeddy Wing
Can't figure out a way to do this while preserving the default flags of the analyser.
2023-05-17Add note for version flagTeddy Wing
2023-05-16Add license (GNU GPLv3+)Teddy Wing
2023-05-16Rename module to `gopkg.teddywing.com/gocapturedrefrace`Teddy Wing
Decided not to use my personal Git host directly for the module, but a new domain specific to Go modules. This could allow me to host the code elsewhere using a vanity module name.
2023-05-14Find `go` statements using Go analyzerTeddy Wing
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