aboutsummaryrefslogtreecommitdiff
path: root/cmd/xedn/main.go
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2023-08-26 14:14:51 -0400
committerXe Iaso <me@xeiaso.net>2023-08-26 14:14:51 -0400
commit81fe4e8a12b362f7de9a97210f950c388d047664 (patch)
treed71d879f62d74e528a1338470df268669e2565be /cmd/xedn/main.go
parent924a12ab6915b7dad147ed57c5a384c142f82c1e (diff)
downloadx-81fe4e8a12b362f7de9a97210f950c388d047664.tar.xz
x-81fe4e8a12b362f7de9a97210f950c388d047664.zip
Switch from ln to slog
ln had a good run, but it's not going to last for the long term. I'm going to standardize everything on log/slog and deprecate ln. Closes #385 Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'cmd/xedn/main.go')
-rw-r--r--cmd/xedn/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/xedn/main.go b/cmd/xedn/main.go
index d1f263c..c9a0c9e 100644
--- a/cmd/xedn/main.go
+++ b/cmd/xedn/main.go
@@ -13,6 +13,7 @@ import (
"image/png"
"io"
"log"
+ "log/slog"
"net/http"
"os"
"path/filepath"
@@ -23,7 +24,6 @@ import (
"github.com/rs/cors"
"github.com/sebest/xff"
"go.etcd.io/bbolt"
- "golang.org/x/exp/slog"
"golang.org/x/sync/singleflight"
"tailscale.com/hostinfo"
"tailscale.com/metrics"