(relation dao.Relation)
| 134 | } |
| 135 | |
| 136 | func (r *relationRepository) toDomainRelation(relation dao.Relation) domain.Relation { |
| 137 | return domain.Relation{ |
| 138 | FolloweeId: relation.FolloweeID, |
| 139 | FollowerId: relation.FollowerID, |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | func (r *relationRepository) toDomainRelationSlice(relations []dao.Relation) []domain.Relation { |
| 144 | relationSlice := make([]domain.Relation, len(relations)) |
no outgoing calls
no test coverage detected