diff --git a/internal/domain/account.go b/internal/domain/account.go index 4a767da..d669249 100644 --- a/internal/domain/account.go +++ b/internal/domain/account.go @@ -27,6 +27,7 @@ type AccountRepository interface { Update(ctx context.Context, acc *Account) error Create(ctx context.Context, acc *Account) error Delete(ctx context.Context, id int64) error + Associate(ctx context.Context, acc *Account, dev *Device) error } // AccountUsecase represents the account's usecases diff --git a/internal/repository/postgres_account.go b/internal/repository/postgres_account.go index e0c648f..c763ee6 100644 --- a/internal/repository/postgres_account.go +++ b/internal/repository/postgres_account.go @@ -167,3 +167,7 @@ func (p *postgresAccountRepository) Delete(ctx context.Context, id int64) error } return err } + +func (p *postgresAccountRepository) Associate(ctx context.Context, acc *domain.Account, dev *domain.Device) error { + return nil +}