Add a lint check for functions which return errors but the error type isn't the last type in the return list.

Signed-off-by: David Symonds <dsymonds@golang.org>
2 files changed
tree: 62ca7beb449be0e5d00605bd4c8c4abdca6e55f8
  1. LICENSE
  2. README
  3. golint/
  4. lint.go
  5. lint_test.go
  6. misc/
  7. testdata/