[CHORE] Move cache library

- This is in the spirit of #5090.
- Move to a fork of gitea.com/go-chi/cache,
code.forgejo.org/go-chi/cache. It removes unused code (a lot of
adapters, that can't be used by Forgejo) and unused dependencies (see
go.sum). Also updates existing dependencies.
8c64f1a362..main
This commit is contained in:
Gusted 2024-08-27 01:57:40 +02:00
parent 0404662e99
commit bf0d100b84
No known key found for this signature in database
GPG key ID: FD821B732837125F
11 changed files with 22 additions and 75 deletions

View file

@ -10,7 +10,7 @@ import (
"code.gitea.io/gitea/modules/json"
mc "gitea.com/go-chi/cache"
mc "code.forgejo.org/go-chi/cache"
lru "github.com/hashicorp/golang-lru/v2"
)