feat: add cache for list files

This commit is contained in:
Noah Hsu
2022-06-13 21:14:01 +08:00
parent 6056fdbddc
commit c525406516
3 changed files with 23 additions and 4 deletions

2
go.mod
View File

@ -3,6 +3,7 @@ module github.com/alist-org/alist/v3
go 1.18
require (
github.com/Xhofe/go-cache v0.0.0-20220613125742-9554c28ee448
github.com/caarlos0/env/v6 v6.9.3
github.com/gin-gonic/gin v1.8.0
github.com/json-iterator/go v1.1.12
@ -13,7 +14,6 @@ require (
)
require (
github.com/Xhofe/go-cache v0.0.0-20220613100912-dbdb5bb9a345 // indirect
github.com/gin-contrib/sse v0.1.0 // indirect
github.com/go-playground/locales v0.14.0 // indirect
github.com/go-playground/universal-translator v0.18.0 // indirect