Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add staticcheck and go-generate Github check (#968)
* Fix Staticcheck errors & minor logic simplification Simplify logic in ui.go. In that diff, `st` would already have the Reversed flag set; there's no need to set it again. Also, minor changes to remove all the statickcheck errors VS code's Go extension complains about. * Add staticcheck and Go 1.19 go-generate Github check This adds a few Github action checks: 1. Check that `go fmt` and `go generate` were run on Go 1.19, following up on 654b873. On earlier Go versions, `go generate` results in whitespace changes. 2. Check that [Staticcheck](https://staticcheck.io/) passes.
- Loading branch information