hugo/common/maps
Bjørn Erik Pedersen 23f48c300c
common/maps: Improve append in Scratch
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
2018-10-10 12:21:51 +02:00
..
maps.go Add support for theme composition and inheritance 2018-06-10 23:55:20 +02:00
maps_test.go Add support for theme composition and inheritance 2018-06-10 23:55:20 +02:00
scratch.go common/maps: Improve append in Scratch 2018-10-10 12:21:51 +02:00
scratch_test.go common/maps: Improve append in Scratch 2018-10-10 12:21:51 +02:00