Skip to content
callcount

go.mongodb.org/mongo-driver/internal/assert.NoError

third-party

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

All of go.mongodb.org/mongo-driver/internal/assert → Docs on pkg.go.dev ↗

prod calls
128
non-test, non-generated
all calls
158
total callsites
modules
1
distinct callers
in loop
9%
of prod calls
in tests
19%
30 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.

where it's called

Callsites in the wild

12 representative callsites of 158, prioritizing in-loop and non-test usage. We link to source, never display it.

NoError · 12 of 158 callsites
  • go.mongodb.org/mongo-driver @v1.17.9

    examples/documentation_examples/examples.go:1291

    in loop
  • go.mongodb.org/mongo-driver @v1.17.9

    examples/documentation_examples/examples.go:1294

    in loop
  • go.mongodb.org/mongo-driver @v1.17.9

    examples/documentation_examples/examples.go:1300

    in loop
  • go.mongodb.org/mongo-driver @v1.17.9

    examples/documentation_examples/examples.go:1304

    in loop
  • go.mongodb.org/mongo-driver @v1.17.9

    examples/documentation_examples/examples.go:1344

    in loop
  • go.mongodb.org/mongo-driver @v1.17.9

    examples/documentation_examples/examples.go:1346

    in loop
  • go.mongodb.org/mongo-driver @v1.17.9

    examples/documentation_examples/examples.go:1513

    in loop
  • go.mongodb.org/mongo-driver @v1.17.9

    examples/documentation_examples/examples.go:1517

    in loop
  • go.mongodb.org/mongo-driver @v1.17.9

    examples/documentation_examples/examples.go:1567

    in loop
  • go.mongodb.org/mongo-driver @v1.17.9

    examples/documentation_examples/examples.go:1571

    in loop
  • go.mongodb.org/mongo-driver @v1.17.9

    examples/documentation_examples/examples.go:1623

    in loop
  • go.mongodb.org/mongo-driver @v1.17.9

    examples/documentation_examples/examples.go:1625

    in loop

top callers

The modules that reach for it

The modules that call NoError most in this snapshot.

  • go.mongodb.org/mongo-driver158100%