Memem is in-memory cache package.
The key is of type string and the value can be any Object.
go get -u github.com/harukitosa/memem
package main
import (
"log"
"github.com/harukitosa/memem"
)
func main() {
c := memem.NewCache()
c.Set("key", "valued")
log.Println(c.Get("key"))
}
We are waiting for the pullrequest.