Refactor cache and disable go-chi cache (#30417)

use built-in cache package to wrap external go-chi cache package
This commit is contained in:
wxiaoguang authored and GitHub committed 2024-04-13 08:38:44 +00:00
1 parent 8fd8978b49
commit c248f010ad
15 files changed
+198 -209

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ import (
"code.gitea.io/gitea/modules/json"
mc "gitea.com/go-chi/cache"
mc "gitea.com/go-chi/cache" //nolint:depguard
lru "github.com/hashicorp/golang-lru/v2"
)