diff --git a/backend.go b/backend.go index 8d55931..3a9c7f2 100644 --- a/backend.go +++ b/backend.go @@ -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 { diff --git a/go.mod b/go.mod index 11d3724..6e3b17d 100644 --- a/go.mod +++ b/go.mod @@ -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 ) diff --git a/go.sum b/go.sum index 09d6e82..2fe9a52 100644 --- a/go.sum +++ b/go.sum @@ -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=