MCPcopy Create free account
hub / github.com/GoSimplicity/LinkMe / CancelFollowUser

Method CancelFollowUser

internal/service/relation.go:50–52  ·  view source on GitHub ↗

CancelFollowUser 取消关注用户

(ctx context.Context, followerID, followeeID int64)

Source from the content-addressed store, hash-verified

48
49// CancelFollowUser 取消关注用户
50func (r *relationService) CancelFollowUser(ctx context.Context, followerID, followeeID int64) error {
51 return r.repo.CancelFollowUser(ctx, followerID, followeeID)
52}
53
54func (r *relationService) GetFolloweeCount(ctx context.Context, UserID int64) (int64, error) {
55 return r.repo.GetFolloweeCount(ctx, UserID)

Callers

nothing calls this directly

Calls 1

CancelFollowUserMethod · 0.65

Tested by

no test coverage detected