encoding/gob.NewDecoder
standard libraryThe 2828th most-called standard-library function by production calls. Called 268 times across 119 modules; 210 of those run outside tests and generated code.
- prod calls
- 210
- non-test, non-generated
- all calls
- 268
- total callsites
- modules
- 119
- distinct callers
- in loop
- 4%
- of prod calls
- in tests
- 21%
- 55 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 NewDecoder from notable Go projects. Open one on the map to see what else it hammers.
- MinIO 7 3%
- gRPC 6 3%
- Argo 5 2%
- Cilium 4 2%
- Go (golang.org/x) 3 1%
where it's called
Callsites in the wild
12 representative callsites of 268, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
etcd-io/etcd @v2.3.8+incompatible
in loop -
coreos/etcd @v2.3.8+incompatible
in loop - in loop
- in loop
- in loop
-
x/tools @v0.48.0
internal/facts/facts.go:230
in loop -
go/tools @v0.7.0
lintcmd/cmd.go:264
in loop - in loop
- in loop test
-
minio/minio @v0.0.0-20260212201848-7aac2a2c5b7c
in loop test - in loop test
top callers
The modules that reach for it
The modules that call NewDecoder most in this snapshot.
- github.com/cloudwego/eino176%
- github.com/minio/minio93%
- github.com/dstotijn/hetty83%
- github.com/tylertreat/BoomFilters83%
- github.com/go-openapi/spec73%
siblings
More from encoding/gob
The other most-called functions in this package. See all →