type github.com/golang/groupcache/lru.Key
11 uses
github.com/golang/groupcache/lru (current package)
lru.go#L30: OnEvicted func(key Key, value interface{})
lru.go#L37: type Key interface{}
lru.go#L40: key Key
lru.go#L56: func (c *Cache) Add(key Key, value interface{}) {
lru.go#L74: func (c *Cache) Get(key Key) (value interface{}, ok bool) {
lru.go#L86: func (c *Cache) Remove(key Key) {
go.opencensus.io/trace
lrumap.go#L24: cacheKeys map[lru.Key]bool
lrumap.go#L31: cacheKeys: make(map[lru.Key]bool),
lrumap.go#L35: lm.cache.OnEvicted = func(key lru.Key, value interface{}) {
lrumap.go#L55: lm.cacheKeys[lru.Key(key)] = true
lrumap.go#L56: lm.cache.Add(lru.Key(key), value)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |