Reapply "[#972] Drop x/exp/slices dependency"

This reverts commit 946f2ec2bf.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2024-04-10 14:16:00 +03:00 committed by Evgenii Stratonikov
parent 669103a33e
commit 5ef5734c4e
3 changed files with 2 additions and 2 deletions

BIN
go.sum

Binary file not shown.

View file

@ -3,13 +3,13 @@ package frostfs
import ( import (
"bytes" "bytes"
"encoding/hex" "encoding/hex"
"slices"
"git.frostfs.info/TrueCloudLab/frostfs-node/internal/logs" "git.frostfs.info/TrueCloudLab/frostfs-node/internal/logs"
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/innerring/processors" "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/innerring/processors"
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/morph/event" "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/morph/event"
frostfsEvent "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/morph/event/frostfs" frostfsEvent "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/morph/event/frostfs"
"go.uber.org/zap" "go.uber.org/zap"
"golang.org/x/exp/slices"
) )
func (np *Processor) handleDeposit(ev event.Event) { func (np *Processor) handleDeposit(ev event.Event) {

View file

@ -2,10 +2,10 @@ package testutil
import ( import (
"encoding/binary" "encoding/binary"
"slices"
"testing" "testing"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"golang.org/x/exp/slices"
) )
func TestOverwriteObjGenerator(t *testing.T) { func TestOverwriteObjGenerator(t *testing.T) {