Skip to content
callcount

github.com/goharbor/harbor/src/lib/http.SendError

third-party

The 9150th most-called third-party function by production calls. Called 70 times across 1 modules; 67 of those run outside tests and generated code.

No change in production calls since 2026-W39.

All of github.com/goharbor/harbor/src/lib/http → Docs on pkg.go.dev ↗

prod calls
67
non-test, non-generated
all calls
70
total callsites
modules
1
distinct callers
in loop
4%
of prod calls
in tests
4%
3 calls
resolved
100%
to a known target

resolution mix

How each call resolves

How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →

  • Package function100%A direct call to an exported package function, resolved by type.

who calls this

Notable callers

Production calls into SendError from notable Go projects. Open one on the map to see what else it hammers.

where it's called

Callsites in the wild

12 representative callsites of 70, prioritizing in-loop and non-test usage. We link to source, never display it.

SendError · 12 of 70 callsites
  • goharbor/harbor/src @v0.0.0-20260928124057-d3e2ad0a395c

    server/registry/referrers.go:93

    in loop
  • goharbor/harbor/src @v0.0.0-20260928124057-d3e2ad0a395c

    server/registry/referrers.go:118

    in loop
  • goharbor/harbor/src @v0.0.0-20260928124057-d3e2ad0a395c

    server/registry/referrers.go:123

    in loop
  • goharbor/harbor/src @v0.0.0-20260928124057-d3e2ad0a395c

    server/middleware/blob/head_blob.go:36

  • goharbor/harbor/src @v0.0.0-20260928124057-d3e2ad0a395c

    server/middleware/url/parse.go:36

  • goharbor/harbor/src @v0.0.0-20260928124057-d3e2ad0a395c

    server/version.go:37

  • goharbor/harbor/src @v0.0.0-20260928124057-d3e2ad0a395c

    server/middleware/immutable/pushmf.go:38

  • goharbor/harbor/src @v0.0.0-20260928124057-d3e2ad0a395c

    server/middleware/repoproxy/tag.go:40

  • goharbor/harbor/src @v0.0.0-20260928124057-d3e2ad0a395c

    server/middleware/immutable/pushmf.go:42

  • goharbor/harbor/src @v0.0.0-20260928124057-d3e2ad0a395c

    server/handler/job_status_hook.go:42

  • goharbor/harbor/src @v0.0.0-20260928124057-d3e2ad0a395c

    registryctl/api/base.go:47

  • goharbor/harbor/src @v0.0.0-20260928124057-d3e2ad0a395c

    server/middleware/repoproxy/tag.go:47

top callers

The modules that reach for it

The modules that call SendError most in this snapshot.

  • github.com/goharbor/harbor/src70100%