☰
Debian Codegraph
@
3.0.0-5
3.0.0-4
/
/
cache.go
☽
☼
cache.go
code
plain
raw
symbols
SCIP
MIT
2021-2025 TwiN <
[email protected]
>
debian/copyright
1
package
g8
2
3
import
(
4
"github.com/TwiN/gocache/v2"
5
)
6
7
type
Cache
interface
{
8
Get
(key
string
) (value
any
, exists
bool
)
9
Set
(key
string
, value
any
)
10
}
11
12
// Make sure that gocache.Cache is compatible with the interface
13
var
_
Cache
= (*gocache.
Cache
)(
nil
)