summaryrefslogtreecommitdiffhomepage
path: root/caddyconfig
diff options
context:
space:
mode:
Diffstat (limited to 'caddyconfig')
-rw-r--r--caddyconfig/caddyfile/formatter.go3
-rw-r--r--caddyconfig/httpcaddyfile/httptype.go2
2 files changed, 2 insertions, 3 deletions
diff --git a/caddyconfig/caddyfile/formatter.go b/caddyconfig/caddyfile/formatter.go
index d506219c4..d35f0ac6b 100644
--- a/caddyconfig/caddyfile/formatter.go
+++ b/caddyconfig/caddyfile/formatter.go
@@ -17,9 +17,8 @@ package caddyfile
import (
"bytes"
"io"
+ "slices"
"unicode"
-
- "golang.org/x/exp/slices"
)
// Format formats the input Caddyfile to a standard, nice-looking
diff --git a/caddyconfig/httpcaddyfile/httptype.go b/caddyconfig/httpcaddyfile/httptype.go
index da5557aa8..99411d1cc 100644
--- a/caddyconfig/httpcaddyfile/httptype.go
+++ b/caddyconfig/httpcaddyfile/httptype.go
@@ -19,12 +19,12 @@ import (
"fmt"
"net"
"reflect"
+ "slices"
"sort"
"strconv"
"strings"
"go.uber.org/zap"
- "golang.org/x/exp/slices"
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/caddyconfig"