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. golint/
  2. misc/
  3. testdata/
  4. LICENSE
  5. lint.go
  6. lint_test.go
  7. README