Skip to content
Snippets Groups Projects
Commit 8a5d6f58 authored by Anton Sattarov's avatar Anton Sattarov
Browse files

fix for lint

parent 88de7798
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,12 @@ type Storage interface {
) (*Item, error)
// ListRevisions - поиск всех ревизий одной записи
ListRevisions(ctx context.Context, coll *collections.Collection, itemID string, options ...*StorageFindOptions) ([]*Item, int, error)
ListRevisions(
ctx context.Context,
coll *collections.Collection,
itemID string,
options ...*StorageFindOptions,
) ([]*Item, int, error)
// ChangeRevisionsItemID - заменить ID элемента у его ревизий
ChangeRevisionsItemID(ctx context.Context, coll *collections.Collection, itemID, newItemID string) error
......@@ -83,7 +88,12 @@ type Storage interface {
RemoveRevisions(ctx context.Context, coll *collections.Collection, itemID string, options ...*DeleteOptions) error
// RemoveRevision - удаление конкретной ревизии из Revisions
RemoveRevision(ctx context.Context, coll *collections.Collection, revisionID string, options ...*DeleteOptions) error
RemoveRevision(
ctx context.Context,
coll *collections.Collection,
revisionID string,
options ...*DeleteOptions,
) error
// RemoveArchived - удаление записи из архива
RemoveArchived(ctx context.Context, coll *collections.Collection, itemID string, options ...*DeleteOptions) error
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment