hugo/common/maps
Bjørn Erik Pedersen 31a8bb8c07 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-08 12:30:50 +02:00
..
maps.go
maps_test.go
scratch.go common/maps: Improve append in Scratch 2018-10-08 12:30:50 +02:00
scratch_test.go common/maps: Improve append in Scratch 2018-10-08 12:30:50 +02:00