From 7749962c24172c29fd8851afb86e923b5d5f369c Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 29 Jun 2024 19:11:56 +0200 Subject: change error package --- internal/server/dev.go | 2 +- internal/server/server.go | 2 +- internal/server/tls.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/server') diff --git a/internal/server/dev.go b/internal/server/dev.go index b984704..e83201a 100644 --- a/internal/server/dev.go +++ b/internal/server/dev.go @@ -13,7 +13,7 @@ import ( "go.alanpearce.eu/website/internal/log" "github.com/fsnotify/fsnotify" - "github.com/pkg/errors" + "gitlab.com/tozd/go/errors" ) type FileWatcher struct { diff --git a/internal/server/server.go b/internal/server/server.go index c17c8d6..6f933ef 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -21,7 +21,7 @@ import ( "github.com/ardanlabs/conf/v3" "github.com/osdevisnot/sorvor/pkg/livereload" - "github.com/pkg/errors" + "gitlab.com/tozd/go/errors" ) var ( diff --git a/internal/server/tls.go b/internal/server/tls.go index d48b5df..7bd4a1c 100644 --- a/internal/server/tls.go +++ b/internal/server/tls.go @@ -14,7 +14,7 @@ import ( "github.com/caddyserver/caddy/v2" "github.com/caddyserver/certmagic" certmagic_redis "github.com/pberkel/caddy-storage-redis" - "github.com/pkg/errors" + "gitlab.com/tozd/go/errors" ) type redisConfig struct { -- cgit 1.4.1