github.com/goharbor/harbor/src/lib/orm.FromContext
third-partyThe 2843rd most-called third-party function by production calls. Called 228 times across 1 modules; 209 of those run outside tests and generated code.
All of github.com/goharbor/harbor/src/lib/orm → Docs on pkg.go.dev ↗
- prod calls
- 209
- non-test, non-generated
- all calls
- 228
- total callsites
- modules
- 1
- distinct callers
- in loop
- 0%
- of prod calls
- in tests
- 8%
- 19 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 FromContext from notable Go projects. Open one on the map to see what else it hammers.
- Harbor 209 100%
where it's called
Callsites in the wild
12 representative callsites of 228, prioritizing in-loop and non-test usage. We link to source, never display it.
-
goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9
pkg/retention/dao/retention.go:27
-
goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9
pkg/retention/dao/retention.go:36
-
goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9
pkg/scan/dao/scanner/registration.go:40
-
goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9
pkg/joblog/dao/dao.go:45
-
goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9
pkg/retention/dao/retention.go:46
-
goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9
pkg/immutable/dao/dao.go:46
-
goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9
pkg/config/db/dao/dao.go:47
-
goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9
pkg/artifactrash/dao/dao.go:48
-
goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9
pkg/reg/dao/dao.go:50
-
goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9
pkg/oidc/dao/meta.go:50
-
goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9
pkg/project/metadata/dao/dao.go:50
-
goharbor/harbor/src @v0.0.0-20260805041917-93de6ff8f6c9
pkg/allowlist/dao/dao.go:52
top callers
The modules that reach for it
The modules that call FromContext most in this snapshot.
- github.com/goharbor/harbor/src228100%