diff options
Diffstat (limited to 'plugin/template')
-rw-r--r-- | plugin/template/template.go | 3 | ||||
-rw-r--r-- | plugin/template/template_test.go | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/plugin/template/template.go b/plugin/template/template.go index 62aefcf7a..13ffbc9ea 100644 --- a/plugin/template/template.go +++ b/plugin/template/template.go @@ -2,6 +2,7 @@ package template import ( "bytes" + "context" "regexp" "strconv" gotmpl "text/template" @@ -11,8 +12,6 @@ import ( "github.com/coredns/coredns/plugin/pkg/upstream" "github.com/coredns/coredns/request" - "context" - "github.com/miekg/dns" ) diff --git a/plugin/template/template_test.go b/plugin/template/template_test.go index 466ac7982..288d833ec 100644 --- a/plugin/template/template_test.go +++ b/plugin/template/template_test.go @@ -1,6 +1,7 @@ package template import ( + "context" "fmt" "regexp" "testing" @@ -10,8 +11,6 @@ import ( "github.com/coredns/coredns/plugin/pkg/fall" "github.com/coredns/coredns/plugin/test" - "context" - "github.com/mholt/caddy" "github.com/miekg/dns" ) |