Memo Teeny-weeny cached variable library with auto refresh and anti stampede. Usage v := 0 counter := memo.Memo(func() interface{} { v = v + 1 return v }, time.Second) for { fmt.Printf("Counter %s", counter()) }