(ctx context.Context, keyword string)
| 1377 | } |
| 1378 | |
| 1379 | func (i *imlAppModule) MySimpleApps(ctx context.Context, keyword string) ([]*service_dto.SimpleAppItem, error) { |
| 1380 | services, err := i.searchMyApps(ctx, "", keyword) |
| 1381 | if err != nil { |
| 1382 | return nil, err |
| 1383 | } |
| 1384 | items := make([]*service_dto.SimpleAppItem, 0, len(services)) |
| 1385 | for _, p := range services { |
| 1386 | items = append(items, &service_dto.SimpleAppItem{ |
| 1387 | Id: p.Id, |
| 1388 | Name: p.Name, |
| 1389 | Description: p.Description, |
| 1390 | Team: auto.UUID(p.Team), |
| 1391 | }) |
| 1392 | } |
| 1393 | return items, nil |
| 1394 | } |
| 1395 | |
| 1396 | func (i *imlAppModule) GetApp(ctx context.Context, appId string) (*service_dto.App, error) { |
| 1397 | info, err := i.serviceService.Get(ctx, appId) |
nothing calls this directly
no test coverage detected