mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-20 20:14:59 +00:00
`*json.UnmarshalTypeError` and `*json.SyntaxError` has a byte `Offset`, so use that. This commit also reworks/simplifies the errror line matching logic. This also makes the file reading unbuffered, but that should be fine in this error case. See #5324