🎨 Format metadata repository interface

This commit is contained in:
Maxim Lebedev 2023-01-16 16:23:35 +06:00
parent f87435b797
commit 5f05cef767
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
1 changed files with 2 additions and 2 deletions

View File

@ -8,8 +8,8 @@ import (
)
type Repository interface {
Create(_ context.Context, _ *url.URL, _ domain.Metadata) error
Get(_ context.Context, u *url.URL) (*domain.Metadata, error)
Create(ctx context.Context, u *url.URL, metadata domain.Metadata) error
Get(ctx context.Context, u *url.URL) (*domain.Metadata, error)
}
var ErrNotExist error = domain.NewError(