From fdd871e1775d1b6d85de43e8ecf7ddc71a72c503 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Tue, 2 Jul 2019 12:37:06 -0600 Subject: go.mod: Append /v2 to module name; update all import paths See https://github.com/golang/go/wiki/Modules#semantic-import-versioning --- modules/caddyhttp/requestbody/requestbody.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/caddyhttp/requestbody') diff --git a/modules/caddyhttp/requestbody/requestbody.go b/modules/caddyhttp/requestbody/requestbody.go index 251ef1e..14743f4 100644 --- a/modules/caddyhttp/requestbody/requestbody.go +++ b/modules/caddyhttp/requestbody/requestbody.go @@ -17,8 +17,8 @@ package requestbody import ( "net/http" - "github.com/caddyserver/caddy" - "github.com/caddyserver/caddy/modules/caddyhttp" + "github.com/caddyserver/caddy/v2" + "github.com/caddyserver/caddy/v2/modules/caddyhttp" ) func init() { -- cgit v1.2.3