msgconv: switch from exp/slices to stdlib slices

This commit is contained in:
Tulir Asokan 2025-01-18 15:19:24 +02:00
parent 33c1b7910a
commit fc6a95375e
4 changed files with 5 additions and 4 deletions

View file

@ -17,10 +17,11 @@
package msgconv
import (
"slices"
"github.com/google/uuid"
"go.mau.fi/util/exslices"
"go.mau.fi/util/ptr"
"golang.org/x/exp/slices"
signalpb "go.mau.fi/mautrix-signal/pkg/signalmeow/protobuf"
"go.mau.fi/mautrix-signal/pkg/signalmeow/protobuf/backuppb"

View file

@ -4,11 +4,11 @@ import (
"context"
"fmt"
"math"
"slices"
"strconv"
"strings"
"github.com/google/uuid"
"golang.org/x/exp/slices"
"golang.org/x/net/html"
"maunium.net/go/mautrix/event"
"maunium.net/go/mautrix/id"

View file

@ -19,11 +19,11 @@ package signalfmt
import (
"context"
"html"
"slices"
"strings"
"github.com/google/uuid"
"golang.org/x/exp/maps"
"golang.org/x/exp/slices"
"maunium.net/go/mautrix/event"
"maunium.net/go/mautrix/id"

View file

@ -24,6 +24,7 @@ import (
"fmt"
"io"
"net/http"
"slices"
"strings"
"github.com/google/uuid"
@ -31,7 +32,6 @@ import (
"go.mau.fi/util/exerrors"
"golang.org/x/crypto/hkdf"
"golang.org/x/exp/maps"
"golang.org/x/exp/slices"
"google.golang.org/protobuf/proto"
"go.mau.fi/mautrix-signal/pkg/libsignalgo"