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

Function NewRelationService

internal/service/relation.go:22–26  ·  view source on GitHub ↗
(repo repository.RelationRepository)

Source from the content-addressed store, hash-verified

20}
21
22func NewRelationService(repo repository.RelationRepository) RelationService {
23 return &relationService{
24 repo: repo,
25 }
26}
27
28// ListFollowerRelations 列出所有关注关系
29func (r *relationService) ListFollowerRelations(ctx context.Context, followerID int64, pagination domain.Pagination) ([]domain.Relation, error) {

Callers 1

InitWebServerFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected