Rename Dump to Sync

This commit is contained in:
Asim Aslam
2019-10-03 09:56:25 +01:00
parent a9c85eda68
commit b5f33b2aaa
4 changed files with 5 additions and 5 deletions

View File

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