diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-12-10 08:02:15 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-12-12 09:59:34 +0100 |
commit | 167c01530bb295c8b8d35921eb27ffa5bee76dfe (patch) | |
tree | 338ba8c18bf8533bb0fec5506a12e78b656d6723 /tpl/collections | |
parent | 4c804319f6db0b8459cc9b5df4a904fd2c55dedd (diff) |
Create lightweight forks of text/template and html/template
This commit also removes support for Ace and Amber templates.
Updates #6594
Diffstat (limited to 'tpl/collections')
-rw-r--r-- | tpl/collections/collections.go | 1 | ||||
-rw-r--r-- | tpl/collections/collections_test.go | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tpl/collections/collections.go b/tpl/collections/collections.go index 8d89d6255..5b9d4a700 100644 --- a/tpl/collections/collections.go +++ b/tpl/collections/collections.go @@ -18,6 +18,7 @@ package collections import ( "fmt" "html/template" + "math/rand" "net/url" "reflect" diff --git a/tpl/collections/collections_test.go b/tpl/collections/collections_test.go index 041a8e30c..c98f4a527 100644 --- a/tpl/collections/collections_test.go +++ b/tpl/collections/collections_test.go @@ -17,6 +17,7 @@ import ( "errors" "fmt" "html/template" + "math/rand" "reflect" "testing" |