Chore: Remove global database engine variable from annotation (#46940)

* Chore: Remove global database engine variable from annotation

* 💩
This commit is contained in:
Kat Yang
2022-03-25 13:23:09 -04:00
committed by GitHub
parent 19be0b4170
commit 90f2233ea9
6 changed files with 39 additions and 36 deletions
+2 -2
View File
@@ -16,8 +16,8 @@ type Repository interface {
Save(item *Item) error
Update(ctx context.Context, item *Item) error
Find(ctx context.Context, query *ItemQuery) ([]*ItemDTO, error)
Delete(params *DeleteParams) error
FindTags(query *TagsQuery) (FindTagsResult, error)
Delete(ctx context.Context, params *DeleteParams) error
FindTags(ctx context.Context, query *TagsQuery) (FindTagsResult, error)
}
// AnnotationCleaner is responsible for cleaning up old annotations