aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFrancis Lavoie <[email protected]>2024-04-19 14:24:23 -0400
committerFrancis Lavoie <[email protected]>2024-04-23 19:55:18 -0400
commit60a1dce369d2a74a6cb271d0e7ffb5e88a05bd15 (patch)
treeb5738a69fe4f2bca216bb9185a34d4294a6f1fb5
parent259f7095039232d71f75d78add77a98ae15d5ff5 (diff)
downloadcaddy-60a1dce369d2a74a6cb271d0e7ffb5e88a05bd15.tar.gz
caddy-60a1dce369d2a74a6cb271d0e7ffb5e88a05bd15.zip
Fix lint with gci
$ gci -s standard -s default -s 'prefix(github.com/caddyserver/caddy/v2/cmd)' -s 'prefix(github.com/caddyserver/caddy)' --custom-order -w ../../cmd/main.go
-rw-r--r--cmd/main.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/cmd/main.go b/cmd/main.go
index 2d02dd5aa..299c0ba7e 100644
--- a/cmd/main.go
+++ b/cmd/main.go
@@ -33,6 +33,10 @@ import (
"strings"
"time"
+ "github.com/caddyserver/certmagic"
+ "github.com/spf13/pflag"
+ "go.uber.org/automaxprocs/maxprocs"
+ "go.uber.org/zap"
// For running in minimal environments, this can ease
// headaches related to establishing TLS connections.
// "Package fallback embeds a set of fallback X.509 trusted
@@ -45,11 +49,6 @@ import (
// date for security and compatibility reasons."
_ "golang.org/x/crypto/x509roots/fallback"
- "github.com/caddyserver/certmagic"
- "github.com/spf13/pflag"
- "go.uber.org/automaxprocs/maxprocs"
- "go.uber.org/zap"
-
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/caddyconfig"
)