summaryrefslogtreecommitdiffstats
path: root/tpl/collections
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-12-10 08:02:15 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-12-12 09:59:34 +0100
commit167c01530bb295c8b8d35921eb27ffa5bee76dfe (patch)
tree338ba8c18bf8533bb0fec5506a12e78b656d6723 /tpl/collections
parent4c804319f6db0b8459cc9b5df4a904fd2c55dedd (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.go1
-rw-r--r--tpl/collections/collections_test.go1
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"