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

Method UpdateAnswerCount

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

Source from the content-addressed store, hash-verified

134}
135
136func (us *UserCommon) UpdateAnswerCount(ctx context.Context, userID string, num int) error {
137 return us.userRepo.UpdateAnswerCount(ctx, userID, num)
138}
139
140func (us *UserCommon) UpdateQuestionCount(ctx context.Context, userID string, num int64) error {
141 return us.userRepo.UpdateQuestionCount(ctx, userID, num)

Callers

nothing calls this directly

Calls 1

UpdateAnswerCountMethod · 0.65

Tested by

no test coverage detected