go lint/vet/misspell cleanup (#1105)

This fix address several issues related to golint/vet/misspell.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
Yong Tang
2017-09-22 16:13:04 -07:00
committed by GitHub
parent 6f19dda0b4
commit 387ceb480b
5 changed files with 6 additions and 12 deletions

View File

@@ -94,7 +94,7 @@ func newRule(args ...string) (Rule, error) {
expectNumArgs = len(args) - 1
startArg = 2
default:
// for backward compability
// for backward compatibility
ruleType = arg0
expectNumArgs = len(args)
startArg = 1