hugo/tpl/strings
Bjørn Erik Pedersen d392893cd7
Misc config loading fixes
The main motivation behind this is simplicity and correctnes, but the new small config library is also faster:

```
BenchmarkDefaultConfigProvider/Viper-16         	  252418	      4546 ns/op	    2720 B/op	      30 allocs/op
BenchmarkDefaultConfigProvider/Custom-16        	  450756	      2651 ns/op	    1008 B/op	       6 allocs/op
```

Fixes #8633
Fixes #8618
Fixes #8630
Updates #8591
Closes #6680
Closes #5192
2021-06-14 17:00:32 +02:00
..
init.go tpl: Add method mappings for strings.Contains, strings.ContainsAny 2021-02-23 09:36:43 +01:00
init_test.go Misc config loading fixes 2021-06-14 17:00:32 +02:00
regexp.go tpl: Add limit support to replaceRE 2020-08-28 18:57:56 +02:00
regexp_test.go tpl: Add limit support to replaceRE 2020-08-28 18:57:56 +02:00
strings.go tpl: Fix countwords to handle special chars 2021-05-03 09:10:06 +02:00
strings_test.go Misc config loading fixes 2021-06-14 17:00:32 +02:00
truncate.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
truncate_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00