A developer encountered a production bug where database operations leaked outside transaction boundaries due to accidentally using the wrong repository reference. To prevent recurrence, they built a custom Go linter using the go/analysis framework that detects when code inside transaction callbacks uses outer repository
Sort: