feat: allow admin to user profile (#51)

Resolves #49
This commit is contained in:
Lakhan Samani
2021-09-21 08:23:40 +05:30
committed by GitHub
parent 1ba53e2c49
commit b3a52c2466
7 changed files with 319 additions and 4 deletions

View File

@@ -17,6 +17,7 @@ type Manager interface {
UpdateUser(user User) (User, error)
GetUsers() ([]User, error)
GetUserByEmail(email string) (User, error)
GetUserByID(email string) (User, error)
UpdateVerificationTime(verifiedAt int64, id uint) error
AddVerification(verification VerificationRequest) (VerificationRequest, error)
GetVerificationByToken(token string) (VerificationRequest, error)