tpl/collections: Make index work with slice as the last arg
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 11 Nov 2019 12:54:57 +0000 (13:54 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 11 Nov 2019 12:54:57 +0000 (13:54 +0100)
commit95ef93be667afb480184175a319584fd651abf03
tree01435fe1ea537d207ff9436869bcb87e257d5c6a
parent79355043e8f805cfdd911efed3613f0c5b32e853
tpl/collections: Make index work with slice as the last arg

Fixes #6496
tpl/collections/index.go
tpl/collections/index_test.go