github.com/goharbor/harbor/src/lib/q.New
third-partyThe 6230th most-called third-party function by production calls. Called 181 times across 1 modules; 96 of those run outside tests and generated code.
No change in production calls since 2026-W37.
All of github.com/goharbor/harbor/src/lib/q → Docs on pkg.go.dev ↗
- prod calls
- 96
- non-test, non-generated
- all calls
- 181
- total callsites
- modules
- 1
- distinct callers
- in loop
- 10%
- of prod calls
- in tests
- 47%
- 85 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 96 100%
where it's called
Callsites in the wild
12 representative callsites of 181, prioritizing in-loop and non-test usage. We link to source, never display it.
-
goharbor/harbor/src @v0.0.0-20260921091320-6d24f6c57685
pkg/scan/export/filter_processor.go:62
in loop -
goharbor/harbor/src @v0.0.0-20260921091320-6d24f6c57685
server/v2.0/handler/search.go:96
in loop -
goharbor/harbor/src @v0.0.0-20260921091320-6d24f6c57685
pkg/scan/export/filter_processor.go:101
in loop -
goharbor/harbor/src @v0.0.0-20260921091320-6d24f6c57685
server/v2.0/handler/assembler/report.go:106
in loop -
goharbor/harbor/src @v0.0.0-20260921091320-6d24f6c57685
server/v2.0/handler/search.go:154
in loop -
goharbor/harbor/src @v0.0.0-20260921091320-6d24f6c57685
controller/event/handler/internal/artifact.go:334
in loop -
goharbor/harbor/src @v0.0.0-20260921091320-6d24f6c57685
controller/artifact/controller.go:422
in loop -
goharbor/harbor/src @v0.0.0-20260921091320-6d24f6c57685
controller/artifact/controller.go:552
in loop -
goharbor/harbor/src @v0.0.0-20260921091320-6d24f6c57685
controller/artifact/controller.go:694
in loop -
goharbor/harbor/src @v0.0.0-20260921091320-6d24f6c57685
controller/artifact/controller.go:856
in loop -
goharbor/harbor/src @v0.0.0-20260921091320-6d24f6c57685
pkg/user/dao/dao_test.go:178
in loop test -
goharbor/harbor/src @v0.0.0-20260921091320-6d24f6c57685
pkg/scan/init.go:42
top callers
The modules that reach for it
The modules that call New most in this snapshot.
- github.com/goharbor/harbor/src181100%