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

Method GetByUsername

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

Source from the content-addressed store, hash-verified

56 GetByUserID(ctx context.Context, userID string) (userInfo *entity.User, exist bool, err error)
57 BatchGetByID(ctx context.Context, ids []string) ([]*entity.User, error)
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)

Callers 8

EditUserProfileMethod · 0.65
GetByUsernameMethod · 0.65
MakeUsernameMethod · 0.65
UpdateInfoMethod · 0.65

Implementers 1

userRepointernal/repo/user/user_repo.go

Calls

no outgoing calls

Tested by 1