aboutsummaryrefslogtreecommitdiff
path: root/plugin/rewrite
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/rewrite')
-rw-r--r--plugin/rewrite/name.go5
-rw-r--r--plugin/rewrite/reverter.go3
2 files changed, 5 insertions, 3 deletions
diff --git a/plugin/rewrite/name.go b/plugin/rewrite/name.go
index 6d7a02632..6cbe9d327 100644
--- a/plugin/rewrite/name.go
+++ b/plugin/rewrite/name.go
@@ -2,11 +2,12 @@ package rewrite
import (
"fmt"
- "github.com/coredns/coredns/plugin"
- "github.com/miekg/dns"
"regexp"
"strconv"
"strings"
+
+ "github.com/coredns/coredns/plugin"
+ "github.com/miekg/dns"
)
type nameRule struct {
diff --git a/plugin/rewrite/reverter.go b/plugin/rewrite/reverter.go
index 2f2354e59..0faae608d 100644
--- a/plugin/rewrite/reverter.go
+++ b/plugin/rewrite/reverter.go
@@ -1,10 +1,11 @@
package rewrite
import (
- "github.com/miekg/dns"
"regexp"
"strconv"
"strings"
+
+ "github.com/miekg/dns"
)
// ResponseRule contains a rule to rewrite a response with.