Skip to content
callcount

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

third-party

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

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

prod calls
64
non-test, non-generated
all calls
67
total callsites
modules
1
distinct callers
in loop
5%
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 67, prioritizing in-loop and non-test usage. We link to source, never display it.

SendError · 12 of 67 callsites
  • goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9

    server/registry/referrers.go:93

    in loop
  • goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9

    server/registry/referrers.go:118

    in loop
  • goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9

    server/registry/referrers.go:123

    in loop
  • goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9

    server/middleware/url/parse.go:32

  • goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9

    server/middleware/blob/head_blob.go:36

  • goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9

    server/version.go:37

  • goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9

    server/middleware/immutable/pushmf.go:38

  • goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9

    server/middleware/repoproxy/tag.go:40

  • goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9

    server/middleware/immutable/pushmf.go:42

  • goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9

    server/handler/job_status_hook.go:42

  • goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9

    registryctl/api/base.go:47

  • goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9

    testing/server/v2.0/handler/handler.go:48

top callers

The modules that reach for it

The modules that call SendError most in this snapshot.

  • github.com/goharbor/harbor/src67100%