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

Method CountByService

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

Source from the content-addressed store, hash-verified

256}
257
258func (i *imlAPIService) CountByService(ctx context.Context, service string) (int64, error) {
259 return i.store.CountWhere(ctx, map[string]interface{}{
260 "service": service,
261 })
262}
263
264func (i *imlAPIService) Exist(ctx context.Context, aid string, a *Exist) error {
265 list, err := i.store.Search(ctx, "", map[string]interface{}{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected