Request for a go linter: something that would warn when an variable with the name err
is not of type error
:
func Bla() {
err := 123 // 'err' not of type 'error'
}
Would’ve saved me a few hours today trying to test if a Future was not-nil, without actually waiting for the result.