3 ms·
Another clear lang vs tool split present in Go is related to returning the error type. The language could enforce that return values of type error must always b
by frou_dh 10y ago
Another clear lang vs tool split present in Go is related to returning the error type. The language could enforce that return values of type error must always be assigned (and used). But it doesn't, and now there's the errcheck tool.
https://github.com/kisielk/errcheck https://github.com/kisielk/errcheck
I agree that having things like errcheck and go-sumtype all wired up using gometalinter is pretty novel and only partially gross.