package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Jun 21, 2019
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Func func(key string, done <-chan struct{}) (interface{}, error)
Func is the type of the function to memoize.
New returns a memoization of f.
Clients must subsequently call Close.
func (memo *Memo) Close()
func (memo *Memo) Get(key string, done <-chan struct{}) (interface{}, error)
Source Files
¶
Directories
¶
Package memotest provides common functions for testing various designs of the memo package.
|
Package memotest provides common functions for testing various designs of the memo package. |
Click to show internal directories.
Click to hide internal directories.