refactor: introduce GC, to delete old data
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user