Skip to content

Commit b7099a3

Browse files
authored
refactor: replace golang.org/x/exp with stdlib (#5042)
1 parent 44adaea commit b7099a3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ require (
4545
go.uber.org/atomic v1.11.0
4646
go.uber.org/goleak v1.3.0
4747
golang.org/x/crypto v0.23.0
48-
golang.org/x/exp v0.0.0-20240213143201-ec583247a57a
4948
golang.org/x/net v0.25.0
5049
golang.org/x/sync v0.7.0
5150
golang.org/x/sys v0.20.0
@@ -57,6 +56,8 @@ require (
5756
resenje.org/web v0.4.3
5857
)
5958

59+
require golang.org/x/exp v0.0.0-20240213143201-ec583247a57a // indirect
60+
6061
require (
6162
github.com/BurntSushi/toml v1.1.0 // indirect
6263
github.com/Microsoft/go-winio v0.6.1 // indirect

pkg/storer/internal/chunkstore/chunkstore.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ import (
99
"encoding/binary"
1010
"errors"
1111
"fmt"
12+
"slices"
1213
"time"
1314

1415
"github.com/ethersphere/bee/v2/pkg/sharky"
1516
"github.com/ethersphere/bee/v2/pkg/storage"
1617
"github.com/ethersphere/bee/v2/pkg/storage/storageutil"
1718
"github.com/ethersphere/bee/v2/pkg/swarm"
18-
"golang.org/x/exp/slices"
1919
)
2020

2121
var (

0 commit comments

Comments
 (0)