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

Method DeleteAPIInfo

service/api/iml.go:44–48  ·  view source on GitHub ↗
(ctx context.Context, aid string)

Source from the content-addressed store, hash-verified

42}
43
44func (i *imlAPIService) DeleteAPIInfo(ctx context.Context, aid string) error {
45 return i.apiInfoStore.SoftDelete(ctx, map[string]interface{}{
46 "uuid": aid,
47 })
48}
49
50func (i *imlAPIService) DeleteByService(ctx context.Context, serviceId string) error {
51 return i.store.SoftDelete(ctx, map[string]interface{}{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected