(ctx context.Context, ids ...string)
| 325 | } |
| 326 | |
| 327 | func (i *imlAPIService) GetLabels(ctx context.Context, ids ...string) map[string]string { |
| 328 | if len(ids) == 0 { |
| 329 | return nil |
| 330 | } |
| 331 | list, err := i.apiInfoStore.ListQuery(ctx, "`uuid` in (?)", []interface{}{ids}, "id") |
| 332 | if err != nil { |
| 333 | return nil |
| 334 | } |
| 335 | return utils.SliceToMapO(list, func(i *api.Info) (string, string) { |
| 336 | return i.UUID, i.Name |
| 337 | }) |
| 338 | } |
| 339 | |
| 340 | func (i *imlAPIService) OnComplete() { |
| 341 | i.IServiceGet = universally.NewGetSoftDelete[API, api.API](i.store, FromEntity) |
no outgoing calls
no test coverage detected