Skip to content

Commit dbae4df

Browse files
committed
Upgrade to the newer list package
1 parent b7ffe47 commit dbae4df

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

backend.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import (
44
"sync"
55
"time"
66

7-
"github.com/mgnsk/ringlist"
7+
"github.com/mgnsk/list"
88
)
99

1010
type recordList[V any] struct {
11-
ringlist.List[record[V], *record[V]]
11+
list.ListOf[record[V], *record[V]]
1212
}
1313

1414
type backend[K comparable, V any] struct {

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/mgnsk/evcache/v3
33
go 1.19
44

55
require (
6-
github.com/mgnsk/ringlist v0.0.0-20230706145047-c9cc2d2b2956
6+
github.com/mgnsk/list v0.0.0-20230708175855-ddaf2a8beb76
77
github.com/onsi/gomega v1.27.8
88
)
99

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORN
88
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
99
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
1010
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
11-
github.com/mgnsk/ringlist v0.0.0-20230706145047-c9cc2d2b2956 h1:xWkdgeXchPtA9l83VHfBRuOAcLKpX8zWolO5xaU2ZbQ=
12-
github.com/mgnsk/ringlist v0.0.0-20230706145047-c9cc2d2b2956/go.mod h1:2LPZhApq+vOgHJLmpyTQmQuGQLZ5MEzBUNv0bKbfbS0=
11+
github.com/mgnsk/list v0.0.0-20230708175855-ddaf2a8beb76 h1:n4aP8idpdNbxfL55uViuoOmCrshkFYs9wBkyZ1vFgds=
12+
github.com/mgnsk/list v0.0.0-20230708175855-ddaf2a8beb76/go.mod h1:NSeUCVwmqTJGeKJW1DFe0En63T065/tLyj5HPwwBZd0=
1313
github.com/onsi/ginkgo/v2 v2.9.7 h1:06xGQy5www2oN160RtEZoTvnP2sPhEfePYmCDc2szss=
1414
github.com/onsi/gomega v1.27.8 h1:gegWiwZjBsf2DgiSbf5hpokZ98JVDMcWkUiigk6/KXc=
1515
github.com/onsi/gomega v1.27.8/go.mod h1:2J8vzI/s+2shY9XHRApDkdgPo1TKT7P2u6fXeJKFnNQ=

0 commit comments

Comments
 (0)