commit | 743f9e93e07d721c6473df4c3144e0fb33fd2317 | [log] [tgz] |
---|---|---|
author | Michael Fromberger <michael.j.fromberger@gmail.com> | Sat Jun 22 12:47:27 2013 +1000 |
committer | David Symonds <dsymonds@golang.org> | Sat Jun 22 12:47:27 2013 +1000 |
tree | 73d2dba7b87134f27470ef4c4eb509468e94c662 | |
parent | 99fc497d36d672971a97a26c74004b01b33a30c3 [diff] |
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>