Skip to content
callcount

github.com/goharbor/harbor/src/lib/errors.Errorf

third-party

The 3401st most-called third-party function by production calls. Called 178 times across 1 modules; 176 of those run outside tests and generated code.

No change in production calls since 2026-W37.

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

prod calls
176
non-test, non-generated
all calls
178
total callsites
modules
1
distinct callers
in loop
11%
of prod calls
in tests
1%
2 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 Errorf 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 178, prioritizing in-loop and non-test usage. We link to source, never display it.

Errorf · 12 of 178 callsites
  • goharbor/harbor/src @v0.0.0-20260921091320-6d24f6c57685

    controller/artifact/manifest/manifest.go:43

    in loop
  • goharbor/harbor/src @v0.0.0-20260921091320-6d24f6c57685

    controller/artifact/manifest/manifest.go:46

    in loop
  • goharbor/harbor/src @v0.0.0-20260921091320-6d24f6c57685

    pkg/scan/init.go:55

    in loop
  • goharbor/harbor/src @v0.0.0-20260921091320-6d24f6c57685

    pkg/scan/init.go:61

    in loop
  • goharbor/harbor/src @v0.0.0-20260921091320-6d24f6c57685

    pkg/cached/manager.go:85

    in loop
  • goharbor/harbor/src @v0.0.0-20260921091320-6d24f6c57685

    pkg/cached/manager.go:96

    in loop
  • goharbor/harbor/src @v0.0.0-20260921091320-6d24f6c57685

    pkg/scan/rest/v1/models.go:101

    in loop
  • goharbor/harbor/src @v0.0.0-20260921091320-6d24f6c57685

    pkg/scan/rest/v1/models.go:109

    in loop
  • goharbor/harbor/src @v0.0.0-20260921091320-6d24f6c57685

    pkg/scan/init.go:113

    in loop
  • goharbor/harbor/src @v0.0.0-20260921091320-6d24f6c57685

    jobservice/migration/manager.go:128

    in loop
  • goharbor/harbor/src @v0.0.0-20260921091320-6d24f6c57685

    pkg/retention/policy/alg/or/processor.go:191

    in loop
  • goharbor/harbor/src @v0.0.0-20260921091320-6d24f6c57685

    pkg/p2p/preheat/job.go:191

    in loop

top callers

The modules that reach for it

The modules that call Errorf most in this snapshot.

  • github.com/goharbor/harbor/src178100%

siblings

More from github.com/goharbor/harbor/src/lib/errors

The other most-called functions in this package. See all →