mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-28 10:03:06 +00:00
f669ef6bec
`*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 |
||
---|---|---|
.. | ||
cast | ||
collections | ||
compare | ||
crypto | ||
data | ||
encoding | ||
fmt | ||
images | ||
inflect | ||
internal | ||
lang | ||
math | ||
os | ||
partials | ||
path | ||
resources | ||
safe | ||
strings | ||
templates | ||
time | ||
tplimpl | ||
transform | ||
urls | ||
template.go | ||
template_test.go |