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 --- caddy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'caddy.go') diff --git a/caddy.go b/caddy.go index bfa4c9c..8a24166 100644 --- a/caddy.go +++ b/caddy.go @@ -199,7 +199,7 @@ func GoModule() *debug.Module { } // goModule is the name of this Go module. -const goModule = "github.com/mholt/caddy" +const goModule = "github.com/caddyserver/caddy/v2" // CtxKey is a value type for use with context.WithValue. type CtxKey string -- cgit v1.2.3