| 15 | var _ IKeyService = &imlAIKeyService{} |
| 16 | |
| 17 | type imlAIKeyService struct { |
| 18 | store ai.IKeyStore `autowired:""` |
| 19 | transaction store.ITransaction `autowired:""` |
| 20 | universally.IServiceGet[Key] |
| 21 | universally.IServiceCreate[Create] |
| 22 | universally.IServiceEdit[Edit] |
| 23 | universally.IServiceDelete |
| 24 | } |
| 25 | |
| 26 | func (i *imlAIKeyService) DeleteByProvider(ctx context.Context, providerId string) error { |
| 27 | _, err := i.store.DeleteWhere(ctx, map[string]interface{}{"provider": providerId}) |
nothing calls this directly
no outgoing calls
no test coverage detected