replace packages slog and slices from golang.org/x/exp with stdlib

since we are now at go1.21 as minimum.
This commit is contained in:
Mechiel Lukkien
2024-02-08 14:49:01 +01:00
parent c698cd07d9
commit d1b87cdb0d
123 changed files with 191 additions and 4860 deletions

View File

@ -19,19 +19,18 @@ import (
"errors"
"fmt"
"io"
"log/slog"
"mime"
"mime/multipart"
"net/textproto"
"net/url"
"os"
"runtime/debug"
"slices"
"strings"
"sync"
"time"
"golang.org/x/exp/slices"
"golang.org/x/exp/slog"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promauto"