tpl/collections: Improve type handling in collections.Slice
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 9 Sep 2018 08:15:11 +0000 (10:15 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 10 Sep 2018 07:19:01 +0000 (09:19 +0200)
commitfe6676c775b8d917a661238f24fd4a9088f25d50
treea84c05a70dc203392db4343a2185cfe0a5714140
parent7a97d3e6bca1e30826e1662b5f299b66aa8ab385
tpl/collections: Improve type handling in collections.Slice

Fixes #5188
common/collections/collections.go
hugolib/collections.go [new file with mode: 0644]
hugolib/collections_test.go [new file with mode: 0644]
hugolib/page.go
hugolib/pageGroup.go
hugolib/pageGroup_test.go
hugolib/pagination.go
tpl/collections/collections.go
tpl/collections/collections_test.go
tpl/collections/reflect_helpers.go