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