move hack to client

This commit is contained in:
kartik494
2020-08-12 18:11:40 +05:30
parent 1ee19f1e71
commit 4807a7b031
322 changed files with 7 additions and 68492 deletions

View File

@@ -1,15 +0,0 @@
package jlexer
import "fmt"
// LexerError implements the error interface and represents all possible errors that can be
// generated during parsing the JSON data.
type LexerError struct {
Reason string
Offset int
Data string
}
func (l *LexerError) Error() string {
return fmt.Sprintf("parse error: %s near offset %d of '%s'", l.Reason, l.Offset, l.Data)
}