Update lint.go to add UTF8 as initialism.
Fixes #21.
Signed-off-by: David Symonds <dsymonds@golang.org>
diff --git a/lint.go b/lint.go
index a6db5fa..ee434bd 100644
--- a/lint.go
+++ b/lint.go
@@ -421,8 +421,8 @@
// Only add entries that are highly unlikely to be non-initialisms.
// For instance, "ID" is fine (Freudian code is rare), but "AND" is not.
var commonInitialisms = map[string]bool{
- "ASCII": true,
"API": true,
+ "ASCII": true,
"EOF": true,
"HTML": true,
"HTTP": true,
@@ -432,6 +432,7 @@
"RPC": true,
"UID": true,
"URL": true,
+ "UTF8": true,
"XML": true,
}