Skip to content
callcount

github.com/stretchr/testify/assert.Nil

third-party

The 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.

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.

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 →