summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/rewrite
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2019-07-02 12:37:06 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2019-07-02 12:37:06 -0600
commitfdd871e1775d1b6d85de43e8ecf7ddc71a72c503 (patch)
tree958ba660c9970dc9d33487e1af6f50af8ff2e034 /modules/caddyhttp/rewrite
parent94c28a2574e8691aa64d28d70e9c03cb1d049726 (diff)
go.mod: Append /v2 to module name; update all import paths
See https://github.com/golang/go/wiki/Modules#semantic-import-versioning
Diffstat (limited to 'modules/caddyhttp/rewrite')
-rw-r--r--modules/caddyhttp/rewrite/rewrite.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/caddyhttp/rewrite/rewrite.go b/modules/caddyhttp/rewrite/rewrite.go
index e56a758..9060e22 100644
--- a/modules/caddyhttp/rewrite/rewrite.go
+++ b/modules/caddyhttp/rewrite/rewrite.go
@@ -19,8 +19,8 @@ import (
"net/url"
"strings"
- "github.com/caddyserver/caddy"
- "github.com/caddyserver/caddy/modules/caddyhttp"
+ "github.com/caddyserver/caddy/v2"
+ "github.com/caddyserver/caddy/v2/modules/caddyhttp"
)
func init() {