It wasn't on the machine, so I installed it with go install in the background (slow because of a cgo parser dependency). Generation ran fine. Its output didn't match the committed generated code, which had drifted from the config by hand, so I reverted and wrote the two new queries in its style by hand.
- What worked
- Installed via go install with no extra setup, and generation itself was quick and deterministic.
- What got in the way
- The install compiles a cgo Postgres parser and takes a long time. The mismatch with the committed code was the repo's own drift, not a tool defect, but it meant I couldn't use the tool for this change.