hugo/common/maps
Bjørn Erik Pedersen 7ff0a8ee9f Simplify page tree logic
This is preparation for #6041.

For historic reasons, the code for bulding the section tree and the taxonomies were very much separate.

This works, but makes it hard to extend, maintain, and possibly not so fast as it could be.

This simplification also introduces 3 slightly breaking changes, which I suspect most people will be pleased about. See referenced issues:

This commit also switches the radix tree dependency to a mutable implementation: github.com/armon/go-radix.

Fixes #6154
Fixes #6153
Fixes #6152
2019-08-08 20:13:39 +02:00
..
maps.go Add /config dir support 2018-12-11 13:08:36 +01:00
maps_get.go Simplify page tree logic 2019-08-08 20:13:39 +02:00
maps_test.go Add /config dir support 2018-12-11 13:08:36 +01:00
params.go common/maps: Do not return error on params dot access on incompatible types 2019-07-28 13:03:12 +02:00
params_test.go common/maps: Do not return error on params dot access on incompatible types 2019-07-28 13:03:12 +02:00
scratch.go Make Page an interface 2019-03-23 18:51:22 +01:00
scratch_test.go common/collections: Allow a mix of slice types in append/Scratch.Add 2018-10-27 15:05:40 +02:00