From e6d7e091b7b6dde1c736e7baf01fad5fd5c1ce27 Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Fri, 8 Dec 2023 17:05:40 +0000 Subject: Initial Commit --- repository.go | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 repository.go (limited to 'repository.go') diff --git a/repository.go b/repository.go new file mode 100644 index 0000000..f559406 --- /dev/null +++ b/repository.go @@ -0,0 +1,7 @@ +package registration + +type RegistrationRepository interface { + SaveRegistration(*Registration) error + GetUnconfirmedRegistrations() ([]*Registration, error) + ConfirmRegistration(registrationId string) (*Registration, error) +} -- cgit v1.2.3