Clean up lint (#56)

The only real change in this commit is that MaxInt is made private.
Everything else should be gofmt'ing, docs and cleanup of lint.
This commit is contained in:
Cameron Moore
2016-04-18 09:58:23 -05:00
committed by Thomas Pelletier
parent 9d93af61de
commit 6e26017b00
7 changed files with 32 additions and 29 deletions
+1 -1
View File
@@ -299,7 +299,7 @@ func (l *tomlLexer) lexKey() tomlLexStateFn {
func (l *tomlLexer) lexComment() tomlLexStateFn {
for next := l.peek(); next != '\n' && next != eof; next = l.peek() {
if (next == '\r' && l.follow("\r\n")) {
if next == '\r' && l.follow("\r\n") {
break
}
l.next()