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

Method BulkInputUsers

internal/repository/search.go:82–88  ·  view source on GitHub ↗
(ctx context.Context, users []domain.UserSearch)

Source from the content-addressed store, hash-verified

80}
81
82func (s *searchRepository) BulkInputUsers(ctx context.Context, users []domain.UserSearch) error {
83 var daoUsers []dao.UserSearch
84 for _, user := range users {
85 daoUsers = append(daoUsers, s.toDaoUserSearch(user))
86 }
87 return s.dao.BulkInputUsers(ctx, daoUsers)
88}
89
90func (s *searchRepository) BulkInputLogs(ctx context.Context, event []domain.ReadEvent) error {
91 return s.dao.BulkInputLogs(ctx, s.toDaoReadEvent(event))

Callers

nothing calls this directly

Calls 2

toDaoUserSearchMethod · 0.95
BulkInputUsersMethod · 0.65

Tested by

no test coverage detected