diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2019-07-02 12:37:06 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2019-07-02 12:37:06 -0600 |
commit | fdd871e1775d1b6d85de43e8ecf7ddc71a72c503 (patch) | |
tree | 958ba660c9970dc9d33487e1af6f50af8ff2e034 /modules/caddyhttp/reverseproxy | |
parent | 94c28a2574e8691aa64d28d70e9c03cb1d049726 (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/reverseproxy')
-rwxr-xr-x | modules/caddyhttp/reverseproxy/module.go | 2 | ||||
-rwxr-xr-x | modules/caddyhttp/reverseproxy/upstream.go | 2 |
2 files changed, 2 insertions, 2 deletions
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. |