forked from mirror/go-json
9 lines
135 B
Go
9 lines
135 B
Go
|
package json
|
||
|
|
||
|
func NewSyntaxError(msg string, offset int64) *SyntaxError {
|
||
|
return &SyntaxError{
|
||
|
msg: msg,
|
||
|
Offset: offset,
|
||
|
}
|
||
|
}
|