From a14e030b41799ea65e026d600ce18a48507bebd0 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 30 Jun 2024 22:14:37 +0200 Subject: extract logging library --- internal/server/dev.go | 2 +- internal/server/logging.go | 2 +- internal/server/mime.go | 2 +- internal/server/server.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'internal/server') diff --git a/internal/server/dev.go b/internal/server/dev.go index 4db9465..6fcc93e 100644 --- a/internal/server/dev.go +++ b/internal/server/dev.go @@ -9,7 +9,7 @@ import ( "slices" "time" - "go.alanpearce.eu/website/internal/log" + "go.alanpearce.eu/x/log" "github.com/fsnotify/fsnotify" "gitlab.com/tozd/go/errors" diff --git a/internal/server/logging.go b/internal/server/logging.go index 6393099..f744931 100644 --- a/internal/server/logging.go +++ b/internal/server/logging.go @@ -3,7 +3,7 @@ package server import ( "net/http" - "go.alanpearce.eu/website/internal/log" + "go.alanpearce.eu/x/log" ) type LoggingResponseWriter struct { diff --git a/internal/server/mime.go b/internal/server/mime.go index 340e4c5..cb1b1cf 100644 --- a/internal/server/mime.go +++ b/internal/server/mime.go @@ -3,7 +3,7 @@ package server import ( "mime" - "go.alanpearce.eu/website/internal/log" + "go.alanpearce.eu/x/log" ) var newMIMEs = map[string]string{ diff --git a/internal/server/server.go b/internal/server/server.go index f01f939..203c5c5 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -15,7 +15,7 @@ import ( "go.alanpearce.eu/website/internal/builder" cfg "go.alanpearce.eu/website/internal/config" - "go.alanpearce.eu/website/internal/log" + "go.alanpearce.eu/x/log" "go.alanpearce.eu/website/internal/vcs" "go.alanpearce.eu/website/internal/website" -- cgit 1.4.1