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

Method GetByUserID

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

Source from the content-addressed store, hash-verified

54 UpdateInfo(ctx context.Context, userInfo *entity.User) (err error)
55 UpdateUserProfile(ctx context.Context, userInfo *entity.User) (err error)
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)

Implementers 1

userRepointernal/repo/user/user_repo.go

Calls

no outgoing calls