Change store.Sync to store.List

This commit is contained in:
Asim Aslam
2019-10-23 22:05:39 +01:00
parent ecac392dbe
commit 82f94c7861
10 changed files with 216 additions and 220 deletions

View File

@@ -21,7 +21,7 @@ type memoryRecord struct {
c time.Time
}
func (m *memoryStore) Sync() ([]*store.Record, error) {
func (m *memoryStore) List() ([]*store.Record, error) {
m.RLock()
defer m.RUnlock()