-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7c5110e
commit cf2039a
Showing
11 changed files
with
2,381 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package usecases | ||
|
||
import ( | ||
"github.com/savannahghi/onboarding-service/pkg/onboarding/infrastructure" | ||
libLoginUsecase "github.com/savannahghi/onboarding/pkg/onboarding/usecases" | ||
) | ||
|
||
// UseCaseLogin represents open source login usecases | ||
type UseCaseLogin interface { | ||
libLoginUsecase.LoginUseCases | ||
} | ||
|
||
// UseCaseLoginImpl is the login usecase implementation | ||
type UseCaseLoginImpl struct { | ||
infrastructure infrastructure.Interactor | ||
} | ||
|
||
// NewUseCaseLogin instantiates login usecases | ||
func NewUseCaseLogin( | ||
infrastructure infrastructure.Interactor, | ||
) *UseCaseLoginImpl { | ||
return &UseCaseLoginImpl{ | ||
infrastructure: infrastructure, | ||
} | ||
} |
Oops, something went wrong.