github.com/stretchr/testify/assert.NotNil
third-partyThe 1669th most-called third-party function by production calls. Called 19,314 times across 374 modules; 368 of those run outside tests and generated code.
All of github.com/stretchr/testify/assert → Docs on pkg.go.dev ↗
- prod calls
- 368
- non-test, non-generated
- all calls
- 19,314
- total callsites
- modules
- 374
- distinct callers
- in loop
- 3%
- of prod calls
- in tests
- 98%
- 18,943 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 function94%A direct call to an exported package function, resolved by type.
- Package function (by syntax)6%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into NotNil from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 67 18%
- HashiCorp 4 1%
- Authelia 2 <1%
- containerd 2 <1%
- Uber Go 2 <1%
where it's called
Callsites in the wild
12 representative callsites of 19,314, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
elastic/beats @v6.8.23+incompatible
x-pack/filebeat/input/netflow/decoder/template/test_helpers.go:42 ↗
in loop - in loop
- in loop
- in loop
-
sigs.k8s.io/external-dns @v0.21.0
internal/testutils/endpoint.go:215
in loop - in loop
- in loop
- in loop
- in loop
- in loop
top callers
The modules that reach for it
The modules that call NotNil most in this snapshot.
- github.com/aliyun/alibabacloud-oss-go-sdk-v23,63419%
- github.com/weaviate/weaviate7884%
- github.com/cloudwego/eino5853%
- github.com/zeromicro/go-zero5523%
- github.com/hyperledger/fabric4923%
siblings
More from github.com/stretchr/testify/assert
The other most-called functions in this package. See all →