1
0
Fork 0

Adding upstream version 3.0.0.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-16 22:32:21 +02:00
parent 4199417ac3
commit 8274b1bf1b
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
21 changed files with 2147 additions and 0 deletions

13
cache.go Normal file
View file

@ -0,0 +1,13 @@
package g8
import (
"github.com/TwiN/gocache/v2"
)
type Cache interface {
Get(key string) (value any, exists bool)
Set(key string, value any)
}
// Make sure that gocache.Cache is compatible with the interface
var _ Cache = (*gocache.Cache)(nil)