# go fix

7 Hacker News commenters recommended go fix and 2 criticized it, November 2025 to November 2026. It was recommended in 2 of 13 months.

**Verdict:** Built into Go, it rewrites code using type-aware rules, letting library authors move users off deprecated functions. Critics warn it can break program semantics.

## Why people recommend it

- Built into Go, no plugins needed (2 comments): "callable from the command line (which means it can integrate with CI/CD or AI tools) and like I mentioned, the fact this is built into Go itself" ([source](https://news.ycombinator.com/item?id=47055487)) "the stdlib toolchain does a lot that other ecosystems need third-party plugins for" ([source](https://news.ycombinator.com/item?id=47055230))
- Good tooling makes Go pleasant (2 comments): "Its tooling like this that really makes golang an excellent language to work with" ([source](https://news.ycombinator.com/item?id=47050589)) "This tool is way cooler, post-redesign." ([source](https://news.ycombinator.com/item?id=47052195))

## What people warn about

- Risk of changing program semantics (2 comments): "Because it is hard to know whether or not the handle function is called in a deferred call." ([source](https://news.ycombinator.com/item?id=47392368)) "illustrating go1.26.1 go fix source inline transformation breaking program semantics" ([source](https://news.ycombinator.com/item?id=47392125))

## Alternatives hackers recommend

- [OpenRewrite](https://hackerapproved.com/p/openrewrite.md): 7 recommend
- [Coccinelle](https://hackerapproved.com/p/coccinelle.md): 7 recommend

## Cite as

Hacker Approved, "go fix", https://hackerapproved.com/p/go-fix/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
