golint has been deprecated and archived. There's no 1:1 match for it,
but staticcheck is a checker the golint README recommends and has tons
of useful checks.
This commit enables all checks, and then disables:
* ST1000: Incorrect or missing package comment
* ST1005: Incorrectly formatted error string, necessary due to the fact
that all our error strings are capitalised, which they should not be
* SA1019: Locally in goneb.go because we have to rework how we use the
prometheus package there
It also fixes a number of other errors surfaced by staticheck.
* Make a distinction between closed and merged GitHub PRs
Signed-off-by: Isaiah Inuwa <isaiah.inuwa@gmail.com>
* Use assignment shorthand
Co-authored-by: Kegsay <kegsay@gmail.com>
Co-authored-by: Kegsay <kegsay@gmail.com>
* Define project as a Go module and update dependency versions
Signed-off-by: Nikos Filippakis <me@nfil.dev>
* Update docs, configs and dockerfile to use latest Go version
Signed-off-by: Nikos Filippakis <me@nfil.dev>
* Add postgres database driver
Signed-off-by: Nikos Filippakis <me@nfil.dev>