(store store.ISearchStore[E], toModelHandler func(*E) *T)
| 18 | } |
| 19 | |
| 20 | func NewGetSoftDelete[T any, E any](store store.ISearchStore[E], toModelHandler func(*E) *T) IServiceGet[T] { |
| 21 | |
| 22 | return &imlServiceGetSoftDelete[T, E]{store: store, toModelHandler: toModelHandler} |
| 23 | |
| 24 | } |
| 25 | func (s *imlServiceGetSoftDelete[T, E]) Get(ctx context.Context, uuid string) (*T, error) { |
| 26 | where := map[string]interface{}{ |
| 27 | "uuid": uuid, |
no outgoing calls
no test coverage detected