Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LRU ¶
type LRU[K comparable, V any] struct { // contains filtered or unexported fields }
LRU implements the dataloader.Cache interface
func NewLRU ¶
NewLRU creates a new LRU cache size is the size of the cache. If size is 0, the cache has no limit
Click to show internal directories.
Click to hide internal directories.