Skip to content
callcount

github.com/goharbor/harbor/src/lib/log.Warningf

third-party

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

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

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

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

    server/v2.0/handler/model/robot.go:37

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

    server/v2.0/handler/model/artifact.go:79

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

    server/v2.0/handler/model/artifact.go:84

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

    server/v2.0/handler/assembler/report.go:84

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

    controller/scanner/base_controller.go:87

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

    pkg/usergroup/manager.go:91

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

    server/v2.0/handler/assembler/report.go:97

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

    core/service/token/authutils.go:98

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

    server/v2.0/handler/assembler/report.go:104

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

    server/v2.0/handler/assembler/report.go:114

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

    controller/replication/flow/copy.go:121

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

    server/registry/referrers.go:130

    in loop

top callers

The modules that reach for it

The modules that call Warningf most in this snapshot.

  • github.com/goharbor/harbor/src150100%

siblings

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

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