package
module
Version:
v0.0.0-...-e1f5aab
Opens a new window with list of versions in this module.
Published: Jul 15, 2019
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Usage
$ go test ./... -v
=== RUN TestLRUCache
--- PASS: TestLRUCache (0.00s)
PASS
ok _/Users/joey/Work/opensource/code/go-lru 0.005s
Documentation
¶
LRUCache indicates a LRUCache instance
NewLRUCache gets a new LRUCache instance
Get return the value by key
Length returns the existing items count
Put adds <key, value> into LRUCache
Source Files
¶
Click to show internal directories.
Click to hide internal directories.