github.com/goharbor/harbor/src/lib/q.New
third-partyThe 6351st most-called third-party function by production calls. Called 177 times across 1 modules; 93 of those run outside tests and generated code.
All of github.com/goharbor/harbor/src/lib/q → Docs on pkg.go.dev ↗
- prod calls
- 93
- non-test, non-generated
- all calls
- 177
- total callsites
- modules
- 1
- distinct callers
- in loop
- 10%
- of prod calls
- in tests
- 47%
- 84 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 New from notable Go projects. Open one on the map to see what else it hammers.
- Harbor 93 100%
where it's called
Callsites in the wild
12 representative callsites of 177, prioritizing in-loop and non-test usage. We link to source, never display it.
-
goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9
pkg/scan/export/filter_processor.go:62
in loop -
goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9
server/v2.0/handler/search.go:96
in loop -
goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9
pkg/scan/export/filter_processor.go:101
in loop -
goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9
server/v2.0/handler/assembler/report.go:106
in loop -
goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9
server/v2.0/handler/search.go:154
in loop -
goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9
controller/event/handler/internal/artifact.go:334
in loop -
goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9
controller/artifact/controller.go:422
in loop -
goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9
controller/artifact/controller.go:552
in loop -
goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9
controller/artifact/controller.go:694
in loop -
goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9
pkg/user/dao/dao_test.go:178
in loop test -
goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9
pkg/scan/init.go:41
-
goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9
server/middleware/security/robot.go:43
top callers
The modules that reach for it
The modules that call New most in this snapshot.
- github.com/goharbor/harbor/src177100%