☰
Debian Codegraph
@
0.1.9-1
/
/
pkg
/
sievecache
/
node.go
☽
☼
pkg/sievecache/node.go
code
plain
raw
symbols
SCIP
Expat
2025 Frank Denis
debian/copyright
1
package
sievecache
2
3
// Node represents an internal cache entry
4
type
Node
[K
comparable
, V
any
]
struct
{
5
Key
K
6
Value
V
7
}
8
9
// NewNode creates a new cache node
10
func
NewNode[K
comparable
, V
any
](key
K
, value
V
)
Node
[
K
,
V
] {
11
return
Node
[
K
,
V
]{
12
Key: key,
13
Value: value,
14
}
15
}