refactor: introduce GC, to delete old data

This commit is contained in:
Deluan
2020-01-31 20:17:36 -05:00
committed by Deluan Quintão
parent 5d1df19291
commit de1fea64bc
6 changed files with 105 additions and 9 deletions
+4
View File
@@ -73,6 +73,10 @@ func (db *MockDataStore) Resource(ctx context.Context, m interface{}) model.Reso
return struct{ model.ResourceRepository }{}
}
func (db *MockDataStore) GC(ctx context.Context) error {
return nil
}
type mockedUserRepo struct {
model.UserRepository
}