Initial commit

This commit is contained in:
2018-07-06 03:20:18 +01:00
commit 0d91781dfd
48 changed files with 11328 additions and 0 deletions

15
vendor/github.com/mailru/easyjson/jlexer/error.go generated vendored Normal file
View File

@@ -0,0 +1,15 @@
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)
}