Hacker GitHub

← All repos

gordonklaus/ineffassign

View on GitHub ↗ ★ 470 Go

Detect ineffectual assignments in Go code.

4 mentions on Hacker News by 4 people: 0 stories, 4 comments · first 2019-02-19 · latest 2023-05-04

Mentions per year 4 mentions · busiest year 2019 (2)
20082026
  1. …a fair share of significant issues for me that otherwise would have required tests to uncover. [1] https://github.com/gordonklaus/ineffassign [2] https://golangci-lint.run/
    comment by majewsky · 2023-05-04 · in Error Handling Patterns
  2. …but I feel like pragmatism must win in this case. [1]: https://github.com/kisielk/errcheck [2]: https://github.com/gordonklaus/ineffassign [3]: https://pkg.go.dev/builtin#error
    comment by cytzol · 2021-12-16 · in Trying Out Generics in Go
  3. …module's tools.go: * github.com/kisielk/errcheck[1]: Find cases where you (accidentally?) ignore errors. * github.com/gordonklaus/ineffassign[2]: Find ineffectial assignments; sounds simple, almost unneeded, but in my practice it's…
  4. Not sure about that. But https://github.com/gordonklaus/ineffassign catches that.
    comment by agnivade · 2019-02-19 · in Moving from Go to PHP Again