package user // Repository defines the interface for user data persistence type Repository interface { Save(user *User) error GetByID(id string) (*User, error) GetByEmail(email string) (*User, error) Delete(id string) error Exists(id string) (bool, error) }