Add a lint warning for blank imports in library packages.

This adds a check to the golint tool for blank imports in library packages, if
those imports do not come with a documentation comment of some kind.  Only the
presence of a comment is checked, not its content.  Package main is exempt from
this check.

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