mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
31a8bb8c07
This commit consolidates the reflective collections handling in `.Scratch` vs the `tpl` package so they use the same code paths. This commit also adds support for a corner case where a typed slice is appended to a nil or empty `[]interface{}`. Fixes #5275 |
||
---|---|---|
.. | ||
append.go | ||
append_test.go | ||
apply.go | ||
apply_test.go | ||
collections.go | ||
collections_test.go | ||
index.go | ||
index_test.go | ||
init.go | ||
init_test.go | ||
reflect_helpers.go | ||
sort.go | ||
sort_test.go | ||
where.go | ||
where_test.go |