github.com/stretchr/testify/assert.Nil
third-partyThe 855th most-called third-party function by production calls. Called 25,789 times across 405 modules; 791 of those run outside tests and generated code.
All of github.com/stretchr/testify/assert → Docs on pkg.go.dev ↗
- prod calls
- 791
- non-test, non-generated
- all calls
- 25,789
- total callsites
- modules
- 405
- distinct callers
- in loop
- 5%
- of prod calls
- in tests
- 97%
- 24,995 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 function93%A direct call to an exported package function, resolved by type.
- Package function (by syntax)7%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into Nil from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 602 76%
- containerd 16 2%
- Uber Go 4 <1%
- Authelia 2 <1%
- Grafana 2 <1%
where it's called
Callsites in the wild
12 representative callsites of 25,789, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
elastic/beats @v6.8.23+incompatible
in loop -
ory/hydra @v1.11.10
in loop - in loop
- in loop
- in loop
- in loop
- in loop
- in loop
-
kubernetes/ingress-nginx @v0.0.0-20260319212031-dbb11b92ddb7
in loop -
vitess.io/vitess @v0.24.2
go/test/endtoend/backup/vtctlbackup/pitr_test_framework.go:247
in loop -
k8s.io/ingress-nginx @v0.0.0-20260319212031-dbb11b92ddb7
test/e2e/annotations/satisfy.go:66
in loop
top callers
The modules that reach for it
The modules that call Nil most in this snapshot.
- github.com/aliyun/alibabacloud-oss-go-sdk-v22,77111%
- github.com/zeromicro/go-zero1,4846%
- github.com/weaviate/weaviate1,2425%
- github.com/hyperledger/fabric5862%
- github.com/aliyun/alibaba-cloud-sdk-go5282%
siblings
More from github.com/stretchr/testify/assert
The other most-called functions in this package. See all →