MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / DeleteByService

Method DeleteByService

service/api/iml.go:50–54  ·  view source on GitHub ↗
(ctx context.Context, serviceId string)

Source from the content-addressed store, hash-verified

48}
49
50func (i *imlAPIService) DeleteByService(ctx context.Context, serviceId string) error {
51 return i.store.SoftDelete(ctx, map[string]interface{}{
52 "service": serviceId,
53 })
54}
55
56func (i *imlAPIService) ListForServices(ctx context.Context, serviceIds ...string) ([]*API, error) {
57 w := map[string]interface{}{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected