(ctx context.Context, users []domain.UserSearch)
| 80 | } |
| 81 | |
| 82 | func (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 | |
| 90 | func (s *searchRepository) BulkInputLogs(ctx context.Context, event []domain.ReadEvent) error { |
| 91 | return s.dao.BulkInputLogs(ctx, s.toDaoReadEvent(event)) |
nothing calls this directly
no test coverage detected