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

Function toDomain

internal/repository/interactive.go:127–134  ·  view source on GitHub ↗
(ic dao.Interactive)

Source from the content-addressed store, hash-verified

125}
126
127func toDomain(ic dao.Interactive) domain.Interactive {
128 return domain.Interactive{
129 BizID: ic.BizID,
130 ReadCount: ic.ReadCount,
131 LikeCount: ic.LikeCount,
132 CollectCount: ic.CollectCount,
133 }
134}

Callers 2

GetMethod · 0.85
GetByIdMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected