//
pkg.gl
Category
github.com/tsaikd/tools
internal
memoize
package
0.0.0-20190912100236-53e5711c875d
Repository:
https://github.com/tsaikd/tools.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
0
Files
201 SLOC
#
Structs
Handle
Handle is returned from a store when a key is bound to a function.
NoCopy
NoCopy is a type with no public methods that will trigger a vet check if it is ever copied.
Store
Store binds keys to functions, returning handles that can be used to access the functions results.
#
Type aliases
Function
Function is the type for functions that can be memoized.