Versions in this module Expand all Collapse all v1 v1.2.0 Jan 24, 2019 Changes in this version + type Cache struct + func NewCache(limit int) *Cache + func (c *Cache) Get(key string, init func() (interface{}, error)) (interface{}, error)