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/reverseproxy/module.go | 2 +- modules/caddyhttp/reverseproxy/upstream.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/caddyhttp/reverseproxy') diff --git a/modules/caddyhttp/reverseproxy/module.go b/modules/caddyhttp/reverseproxy/module.go index b246712..72946b7 100755 --- a/modules/caddyhttp/reverseproxy/module.go +++ b/modules/caddyhttp/reverseproxy/module.go @@ -15,7 +15,7 @@ package reverseproxy import ( - "github.com/caddyserver/caddy" + "github.com/caddyserver/caddy/v2" ) // Register caddy module. diff --git a/modules/caddyhttp/reverseproxy/upstream.go b/modules/caddyhttp/reverseproxy/upstream.go index bcbcd22..a7fea3e 100755 --- a/modules/caddyhttp/reverseproxy/upstream.go +++ b/modules/caddyhttp/reverseproxy/upstream.go @@ -28,7 +28,7 @@ import ( "sync/atomic" "time" - "github.com/caddyserver/caddy" + "github.com/caddyserver/caddy/v2" ) // CircuitBreaker defines the functionality of a circuit breaker module. -- cgit v1.2.3