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:
committed by
Thomas Pelletier
parent
9d93af61de
commit
6e26017b00
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user