go-json/export_test.go

9 lines
135 B
Go
Raw Permalink Normal View History

2020-08-12 19:21:10 +03:00
package json
func NewSyntaxError(msg string, offset int64) *SyntaxError {
return &SyntaxError{
msg: msg,
Offset: offset,
}
}