brunel/helpers/cache.go

14 lines
137 B
Go
Raw Normal View History

2024-07-29 17:39:11 +02:00
package helpers
import (
"github.com/maypok86/otter"
)
var (
Cache otter.Cache[string, any]
)
func ReloadCache() {
Cache.Clear()
}