Skip to content

Commit e6d6418

Browse files
committed
deps: Switch back to github.com/hashicorp/golang-lru/v2/simplelru
Now that the generics branchs is merged and versioned.
1 parent e380173 commit e6d6418

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

‎go.mod‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ module github.com/bep/lazycache
33
go 1.18
44

55
require (
6-
github.com/bep/golang-lru/v2 v2.0.0-20221109181639-7772c2d8d424
76
github.com/frankban/quicktest v1.14.2
7+
github.com/hashicorp/golang-lru/v2 v2.0.1
88
)
99

1010
require (

‎go.sum‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
github.com/bep/golang-lru/v2 v2.0.0-20221109181639-7772c2d8d424 h1:pCl5RyZx5P/AEKfWw0pNOLdDssKywh7O5i1vOWMYk6k=
2-
github.com/bep/golang-lru/v2 v2.0.0-20221109181639-7772c2d8d424/go.mod h1:VLsj4zCnENLusS8ylWozfleW5d8IN49A36vXR5PVoh4=
31
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
42
github.com/frankban/quicktest v1.14.2 h1:SPb1KFFmM+ybpEjPUhCCkZOM5xlovT5UbrMvWnXyBns=
53
github.com/frankban/quicktest v1.14.2/go.mod h1:mgiwOwqx65TmIk1wJ6Q7wvnVMocbUorkibMOrVTHZps=
64
github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o=
75
github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE=
6+
github.com/hashicorp/golang-lru/v2 v2.0.1 h1:5pv5N1lT1fjLg2VQ5KWc7kmucp2x/kvFOnxuVTqZ6x4=
7+
github.com/hashicorp/golang-lru/v2 v2.0.1/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM=
88
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
99
github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0=
1010
github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk=

‎lazycache.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package lazycache
33
import (
44
"sync"
55

6-
"github.com/bep/golang-lru/v2/simplelru"
6+
"github.com/hashicorp/golang-lru/v2/simplelru"
77
)
88

99
// New creates a new Cache.

0 commit comments

Comments
 (0)