MCPcopy Index your code
hub / github.com/apache/answer / GetByEmail

Method GetByEmail

internal/service/user_common/user.go:60–60  ·  view source on GitHub ↗
(ctx context.Context, email string)

Source from the content-addressed store, hash-verified

58 GetByUsername(ctx context.Context, username string) (userInfo *entity.User, exist bool, err error)
59 GetByUsernames(ctx context.Context, usernames []string) ([]*entity.User, error)
60 GetByEmail(ctx context.Context, email string) (userInfo *entity.User, exist bool, err error)
61 GetUserCount(ctx context.Context) (count int64, err error)
62 SearchUserListByName(ctx context.Context, name string, limit int, onlyStaff bool) (userList []*entity.User, err error)
63 IsAvatarFileUsed(ctx context.Context, filePath string) (bool, error)

Callers 14

ResetPasswordFunction · 0.95
Test_userRepo_GetByEmailFunction · 0.95
ImportQuestionMethod · 0.65
ExternalLoginMethod · 0.65
EditUserProfileMethod · 0.65
GetByEmailMethod · 0.65
EmailLoginMethod · 0.65
RetrievePassWordMethod · 0.65
UserRegisterByEmailMethod · 0.65
UserVerifyEmailMethod · 0.65

Implementers 1

userRepointernal/repo/user/user_repo.go

Calls

no outgoing calls

Tested by 1

Test_userRepo_GetByEmailFunction · 0.76