Before, the way *cache.Cache and *sql.DB were embedded in in
Memstore and PGStore respectively, a caller could access their
methods. This didn't seem like a clear separation.
Now, only the Store interface methods will be public methods of
(Memstore), and (PGStore).
Before, the way
*cache.Cache
and*sql.DB
were embedded in inMemstore
andPGStore
respectively, a caller could access their methods. This didn't seem like a clear separation.Now, only the
Store
interface methods will be public methods of (Memstore), and (PGStore).