fix(indexers): delete and clean (#343)

This commit is contained in:
Ludvig Lundgren 2022-07-07 18:31:42 +02:00 committed by GitHub
parent 652bd8f6f3
commit 33e3691737
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 87 additions and 14 deletions

View file

@ -16,6 +16,7 @@ type IndexerRepo interface {
List(ctx context.Context) ([]Indexer, error)
Delete(ctx context.Context, id int) error
FindByFilterID(ctx context.Context, id int) ([]Indexer, error)
FindByID(ctx context.Context, id int) (*Indexer, error)
}
type Indexer struct {