lint: enable golint

Enables golint and fixes function naming errors (operand checks
incorrectly cased).

Fixes #10
This commit is contained in:
Michael McLoughlin
2018-12-31 11:20:55 -08:00
parent c79a926930
commit 9fbb71b6db
5 changed files with 2273 additions and 2272 deletions

View File

@@ -19,5 +19,5 @@ func implicitRegister(t string) string {
// checkername returns the name of the function that checks an operand of type t.
func checkername(t string) string {
return "operand.Is" + strings.Title(t)
return "operand.Is" + strings.ToUpper(t)
}