mirror of https://github.com/goccy/go-json.git
Fix lint error
This commit is contained in:
parent
addda3a90e
commit
4e0c525f9c
|
@ -84,7 +84,7 @@ func compactValue(dst, src []byte, cursor int64, escape bool) ([]byte, int64, er
|
||||||
case 'n':
|
case 'n':
|
||||||
return compactNull(dst, src, cursor)
|
return compactNull(dst, src, cursor)
|
||||||
default:
|
default:
|
||||||
return nil, 0, errors.ErrSyntax(fmt.Sprintf("unexpected character '%s'", src[cursor]), cursor)
|
return nil, 0, errors.ErrSyntax(fmt.Sprintf("unexpected character '%c'", src[cursor]), cursor)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue