Skip to content
callcount

github.com/goharbor/harbor/src/lib/errors.Error.WithMessagef

third-party

The 2807th most-called third-party method by production calls. Called 231 times across 1 modules; 229 of those run outside tests and generated code.

No change in production calls since 2026-W48.

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

prod calls
229
non-test, non-generated
all calls
231
total callsites
modules
1
distinct callers
in loop
9%
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 →

  • Concrete method100%A method on a value whose type is known exactly.

who calls this

Notable callers

Production calls into Error.WithMessagef 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 231, prioritizing in-loop and non-test usage. We link to source, never display it.

Error.WithMessagef · 12 of 231 callsites
  • goharbor/harbor/src @v0.0.0-20261127072106-3cc8b5c161d3

    server/middleware/url/parse.go:63

    in loop
  • goharbor/harbor/src @v0.0.0-20261127072106-3cc8b5c161d3

    lib/q/builder.go:73

    in loop
  • goharbor/harbor/src @v0.0.0-20261127072106-3cc8b5c161d3

    pkg/scan/vulnerability/vul.go:76

    in loop
  • goharbor/harbor/src @v0.0.0-20261127072106-3cc8b5c161d3

    controller/quota/driver/project/util.go:78

    in loop
  • goharbor/harbor/src @v0.0.0-20261127072106-3cc8b5c161d3

    controller/config/controller.go:185

    in loop
  • goharbor/harbor/src @v0.0.0-20261127072106-3cc8b5c161d3

    controller/config/controller.go:189

    in loop
  • goharbor/harbor/src @v0.0.0-20261127072106-3cc8b5c161d3

    server/v2.0/handler/member.go:234

    in loop
  • goharbor/harbor/src @v0.0.0-20261127072106-3cc8b5c161d3

    server/v2.0/handler/role.go:253

    in loop
  • goharbor/harbor/src @v0.0.0-20261127072106-3cc8b5c161d3

    server/v2.0/handler/role.go:266

    in loop
  • goharbor/harbor/src @v0.0.0-20261127072106-3cc8b5c161d3

    server/v2.0/handler/role.go:270

    in loop
  • goharbor/harbor/src @v0.0.0-20261127072106-3cc8b5c161d3

    pkg/task/execution.go:279

    in loop
  • goharbor/harbor/src @v0.0.0-20261127072106-3cc8b5c161d3

    pkg/task/execution.go:309

    in loop

top callers

The modules that reach for it

The modules that call Error.WithMessagef most in this snapshot.

  • github.com/goharbor/harbor/src231100%

siblings

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

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