about summary refs log tree commit diff stats
path: root/internal/server
diff options
context:
space:
mode:
authorAlan Pearce2024-06-30 22:14:37 +0200
committerAlan Pearce2024-06-30 22:14:37 +0200
commita14e030b41799ea65e026d600ce18a48507bebd0 (patch)
treed1471a9cb5a335457f42b10a1e7150210ab00be2 /internal/server
parentc4d5654e6360e90be2106439463f49acb55dffc8 (diff)
downloadwebsite-a14e030b41799ea65e026d600ce18a48507bebd0.tar.lz
website-a14e030b41799ea65e026d600ce18a48507bebd0.tar.zst
website-a14e030b41799ea65e026d600ce18a48507bebd0.zip
extract logging library
Diffstat (limited to 'internal/server')
-rw-r--r--internal/server/dev.go2
-rw-r--r--internal/server/logging.go2
-rw-r--r--internal/server/mime.go2
-rw-r--r--internal/server/server.go2
4 files changed, 4 insertions, 4 deletions
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"