Skip to content

Commit

Permalink
Upgrade to the newer list package
Browse files Browse the repository at this point in the history
  • Loading branch information
mgnsk committed Jul 8, 2023
1 parent b7ffe47 commit dbae4df
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"sync"
"time"

"github.com/mgnsk/ringlist"
"github.com/mgnsk/list"
)

type recordList[V any] struct {
ringlist.List[record[V], *record[V]]
list.ListOf[record[V], *record[V]]
}

type backend[K comparable, V any] struct {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/mgnsk/evcache/v3
go 1.19

require (
github.com/mgnsk/ringlist v0.0.0-20230706145047-c9cc2d2b2956
github.com/mgnsk/list v0.0.0-20230708175855-ddaf2a8beb76
github.com/onsi/gomega v1.27.8
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORN
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/mgnsk/ringlist v0.0.0-20230706145047-c9cc2d2b2956 h1:xWkdgeXchPtA9l83VHfBRuOAcLKpX8zWolO5xaU2ZbQ=
github.com/mgnsk/ringlist v0.0.0-20230706145047-c9cc2d2b2956/go.mod h1:2LPZhApq+vOgHJLmpyTQmQuGQLZ5MEzBUNv0bKbfbS0=
github.com/mgnsk/list v0.0.0-20230708175855-ddaf2a8beb76 h1:n4aP8idpdNbxfL55uViuoOmCrshkFYs9wBkyZ1vFgds=
github.com/mgnsk/list v0.0.0-20230708175855-ddaf2a8beb76/go.mod h1:NSeUCVwmqTJGeKJW1DFe0En63T065/tLyj5HPwwBZd0=
github.com/onsi/ginkgo/v2 v2.9.7 h1:06xGQy5www2oN160RtEZoTvnP2sPhEfePYmCDc2szss=
github.com/onsi/gomega v1.27.8 h1:gegWiwZjBsf2DgiSbf5hpokZ98JVDMcWkUiigk6/KXc=
github.com/onsi/gomega v1.27.8/go.mod h1:2J8vzI/s+2shY9XHRApDkdgPo1TKT7P2u6fXeJKFnNQ=
Expand Down

0 comments on commit dbae4df

Please sign in to comment.