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

Function NewActivityRepository

internal/repository/activity.go:19–23  ·  view source on GitHub ↗
(dao dao.ActivityDAO)

Source from the content-addressed store, hash-verified

17}
18
19func NewActivityRepository(dao dao.ActivityDAO) ActivityRepository {
20 return &activityRepository{
21 dao: dao,
22 }
23}
24
25func (a *activityRepository) GetRecentActivity(ctx context.Context) ([]domain.RecentActivity, error) {
26 activity, err := a.dao.GetRecentActivity(ctx)

Callers 1

InitWebServerFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected