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/templates/templates.go | 4 ++-- modules/caddyhttp/templates/tplcontext.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/caddyhttp/templates') diff --git a/modules/caddyhttp/templates/templates.go b/modules/caddyhttp/templates/templates.go index c9ed1c8..e5bfa35 100644 --- a/modules/caddyhttp/templates/templates.go +++ b/modules/caddyhttp/templates/templates.go @@ -22,8 +22,8 @@ import ( "strconv" "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() { diff --git a/modules/caddyhttp/templates/tplcontext.go b/modules/caddyhttp/templates/tplcontext.go index 988a4e8..548b3e1 100644 --- a/modules/caddyhttp/templates/tplcontext.go +++ b/modules/caddyhttp/templates/tplcontext.go @@ -26,7 +26,7 @@ import ( "sync" "github.com/Masterminds/sprig" - "github.com/caddyserver/caddy/modules/caddyhttp" + "github.com/caddyserver/caddy/v2/modules/caddyhttp" "gopkg.in/russross/blackfriday.v2" ) -- cgit v1.2.3