Documentation ¶
Overview ¶
Package memo provides a concurrency-unsafe memorization of a function of type Func.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Concurrent ¶
func Concurrent()
Types ¶
type Memo ¶
type Memo struct {
// contains filtered or unexported fields
}
A Memo caches the results of calling a Func.
Click to show internal directories.
Click to hide internal directories.