summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/encode
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2019-08-09 12:19:56 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2019-08-09 12:19:56 -0600
commitc4159ef76d279d6a84257b24dbe97430af32eb1e (patch)
tree8749cd1171cde33b132a94bfcd1fd8c55cdfd979 /modules/caddyhttp/encode
parentab885f07b844fd60adb9d49ed7884f3cd2d939a7 (diff)
Fix module-related errors
Diffstat (limited to 'modules/caddyhttp/encode')
-rw-r--r--modules/caddyhttp/encode/brotli/brotli.go2
-rw-r--r--modules/caddyhttp/encode/caddyfile.go8
-rw-r--r--modules/caddyhttp/encode/gzip/gzip.go2
-rw-r--r--modules/caddyhttp/encode/zstd/zstd.go2
4 files changed, 7 insertions, 7 deletions
diff --git a/modules/caddyhttp/encode/brotli/brotli.go b/modules/caddyhttp/encode/brotli/brotli.go
index e30d7bc..0a9f871 100644
--- a/modules/caddyhttp/encode/brotli/brotli.go
+++ b/modules/caddyhttp/encode/brotli/brotli.go
@@ -19,7 +19,7 @@ import (
"strconv"
"github.com/andybalholm/brotli"
- "github.com/caddyserver/caddy/caddyconfig/caddyfile"
+ "github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/modules/caddyhttp/encode"
)
diff --git a/modules/caddyhttp/encode/caddyfile.go b/modules/caddyhttp/encode/caddyfile.go
index 846ec03..5aca6ac 100644
--- a/modules/caddyhttp/encode/caddyfile.go
+++ b/modules/caddyhttp/encode/caddyfile.go
@@ -18,10 +18,10 @@ import (
"encoding/json"
"fmt"
- "github.com/caddyserver/caddy"
- "github.com/caddyserver/caddy/caddyconfig"
- "github.com/caddyserver/caddy/caddyconfig/caddyfile"
- "github.com/caddyserver/caddy/caddyconfig/httpcaddyfile"
+ "github.com/caddyserver/caddy/v2"
+ "github.com/caddyserver/caddy/v2/caddyconfig"
+ "github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
+ "github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile"
)
// UnmarshalCaddyfile sets up the handler from Caddyfile tokens. Syntax:
diff --git a/modules/caddyhttp/encode/gzip/gzip.go b/modules/caddyhttp/encode/gzip/gzip.go
index 28b08c2..87e8816 100644
--- a/modules/caddyhttp/encode/gzip/gzip.go
+++ b/modules/caddyhttp/encode/gzip/gzip.go
@@ -20,7 +20,7 @@ import (
"fmt"
"strconv"
- "github.com/caddyserver/caddy/caddyconfig/caddyfile"
+ "github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/modules/caddyhttp/encode"
)
diff --git a/modules/caddyhttp/encode/zstd/zstd.go b/modules/caddyhttp/encode/zstd/zstd.go
index 1ec2337..3622628 100644
--- a/modules/caddyhttp/encode/zstd/zstd.go
+++ b/modules/caddyhttp/encode/zstd/zstd.go
@@ -15,7 +15,7 @@
package caddyzstd
import (
- "github.com/caddyserver/caddy/caddyconfig/caddyfile"
+ "github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/modules/caddyhttp/encode"
"github.com/klauspost/compress/zstd"