refactor: agentic comment cleanup
This commit is contained in:
@@ -13,15 +13,12 @@ var ErrNotFound = errors.New("human not found")
|
||||
|
||||
type Service interface {
|
||||
GetOrCreateByEmail(ctx context.Context, email string) (*Human, error)
|
||||
// GetByEmail returns ErrNotFound if no human found
|
||||
// GetByEmail returns ErrNotFound if no human found.
|
||||
GetByEmail(ctx context.Context, email string) (*Human, error)
|
||||
// GetByID returns ErrNotFound if no human found
|
||||
// GetByID returns ErrNotFound if no human found.
|
||||
GetByID(ctx context.Context, id string) (*Human, error)
|
||||
// ListAll returns all humans
|
||||
ListAll(ctx context.Context) ([]*Human, error)
|
||||
// UpdateEmailNotificationsEnabled toggles email notification preference
|
||||
UpdateEmailNotificationsEnabled(ctx context.Context, id string, enabled bool) error
|
||||
// UpdateLastEmailNotificationSentAt records when the last notification email was sent
|
||||
UpdateLastEmailNotificationSentAt(ctx context.Context, id string, t time.Time) error
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user