Skip to content

Commit fa1b3af

Browse files
committed
Use standard library instead of x/exp/slices
That package is part of the standard library by now, so just use it instead.
1 parent 2738684 commit fa1b3af

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ require (
1515
github.com/teambition/rrule-go v1.8.2
1616
go.uber.org/zap v1.27.0
1717
golang.org/x/crypto v0.22.0
18-
golang.org/x/exp v0.0.0-20220613132600-b0d781184e0d
1918
golang.org/x/sync v0.7.0
2019
)
2120

@@ -41,6 +40,7 @@ require (
4140
github.com/ssgreg/journald v1.0.0 // indirect
4241
github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf // indirect
4342
go.uber.org/multierr v1.10.0 // indirect
43+
golang.org/x/exp v0.0.0-20220613132600-b0d781184e0d // indirect
4444
golang.org/x/net v0.21.0 // indirect
4545
golang.org/x/sys v0.19.0 // indirect
4646
golang.org/x/text v0.14.0 // indirect

internal/config/contact_address.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"github.com/icinga/icinga-notifications/internal/recipient"
66
"github.com/jmoiron/sqlx"
77
"go.uber.org/zap"
8-
"golang.org/x/exp/slices"
8+
"slices"
99
)
1010

1111
func (r *RuntimeConfig) fetchContactAddresses(ctx context.Context, tx *sqlx.Tx) error {

0 commit comments

Comments
 (0)