(store store.ISearchStore[E], toModelHandler func(*E) *T)
| 31 | } |
| 32 | |
| 33 | func NewGet[T any, E any](store store.ISearchStore[E], toModelHandler func(*E) *T) IServiceGet[T] { |
| 34 | |
| 35 | return &imlServiceGet[T, E]{store: store, toModelHandler: toModelHandler} |
| 36 | } |
| 37 | |
| 38 | func (s *imlServiceGet[T, E]) Get(ctx context.Context, uuid string) (*T, error) { |
| 39 | where := map[string]interface{}{ |
no outgoing calls
no test coverage detected