diff options
| author | Michael Matloob <matloob@golang.org> | 2023-08-30 14:15:02 -0400 |
|---|---|---|
| committer | Michael Matloob <matloob@golang.org> | 2023-08-30 20:21:49 +0000 |
| commit | 06e167958cf0d098b75f39cd9b570fd134c4379e (patch) | |
| tree | d713476bad764ae3c1a88f70403ec7e8c08efbf1 /go.mod | |
| parent | 6737fb01fe8bee1de75e4cb9fad2b25bc96ceb2a (diff) | |
| download | go-x-pkgsite-06e167958cf0d098b75f39cd9b570fd134c4379e.tar.xz | |
internal/lru: add a really simple LRU cache implementation
To replace github.com/hashicorp/golang-lru. The size used with the
cache in fetchdatasource is 100, so the efficiency of the cache is not
super important.
For golang/go#61399
Change-Id: I48383a4d1c00c4d153c0bad7b0a1a44c026b2314
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/524458
TryBot-Result: Gopher Robot <gobot@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Run-TryBot: Michael Matloob <matloob@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'go.mod')
| -rw-r--r-- | go.mod | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -23,7 +23,6 @@ require ( github.com/google/go-replayers/httpreplay v1.0.0 github.com/google/licensecheck v0.3.1 github.com/google/safehtml v0.0.3-0.20211026203422-d6f0e11a5516 - github.com/hashicorp/golang-lru v0.5.1 github.com/jackc/pgconn v1.10.1 github.com/jackc/pgx/v4 v4.14.1 github.com/jba/templatecheck v0.6.0 |
