An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.
SetDefault(k string, x interface{})
for setting with the default expiration valueGetWithExpiration(k string) (interface{}, time.Time, bool)
for getting both the value and expiration time (thanks Alex Edwards)