hugo/tpl/collections
Ujjwal Goyal c46fc838a9 tpl: Allow 'Querify' to take lone slice/interface argument
Querify can now take a lone string/interface slice (with string
keys) as a parameter, or multiple string parameters, to build
URL queries.

Querify earlier used 'Dictionary' to add key/value pairs to a
map to build URL queries. Changed to dynamically generate ordered
key/value pairs. Cannot take string slice as key (earlier
possible due to Dictionary).

Added tests and benchmarks for querify.

Closes #6735
2021-05-09 13:14:14 +02:00
..
append.go
append_test.go
apply.go
apply_test.go
collections.go tpl: Allow 'Querify' to take lone slice/interface argument 2021-05-09 13:14:14 +02:00
collections_test.go tpl: Allow 'Querify' to take lone slice/interface argument 2021-05-09 13:14:14 +02:00
complement.go
complement_test.go
index.go
index_test.go
init.go tpl: Allow 'Querify' to take lone slice/interface argument 2021-05-09 13:14:14 +02:00
init_test.go
merge.go
merge_test.go
reflect_helpers.go
sort.go
sort_test.go
symdiff.go
symdiff_test.go
where.go tpl/collections: Fix where on type mismatches 2021-04-23 18:06:49 +02:00
where_test.go tpl/collections: Fix where on type mismatches 2021-04-23 18:06:49 +02:00