refactor: introduce GC, to delete old data

This commit is contained in:
Deluan authored and Deluan Quintão committed 2020-02-01 17:23:03 -05:00
1 parent 5d1df19291
commit de1fea64bc
6 files changed
+105 -9

No files matched your search

+1
View File
@@ -33,4 +33,5 @@ type DataStore interface {
Resource(ctx context.Context, model interface{}) ResourceRepository
WithTx(func(tx DataStore) error) error
GC(ctx context.Context) error
}