Replaced external slog package onto native one

This commit is contained in:
Maxim Lebedev 2023-11-02 00:33:42 +06:00
parent e94159bc80
commit 2e6989e9a3
Signed by: toby3d
GPG key ID: 1F14E25B7C119FC5

View file

@ -2,13 +2,12 @@ package middleware
import (
"io"
"log/slog"
"net/http"
"os"
"strings"
"sync/atomic"
"time"
"golang.org/x/exp/slog" // TODO(toby3d): use "log/slog" after go1.21 release
)
type (