encoding/gob.NewEncoder
standard libraryThe 2839th most-called standard-library function by production calls. Called 285 times across 122 modules; 209 of those run outside tests and generated code.
- prod calls
- 209
- non-test, non-generated
- all calls
- 285
- total callsites
- modules
- 122
- distinct callers
- in loop
- 5%
- of prod calls
- in tests
- 26%
- 75 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 NewEncoder from notable Go projects. Open one on the map to see what else it hammers.
- Argo 6 3%
- Go (golang.org/x) 6 3%
- MinIO 6 3%
- Cilium 4 2%
- gRPC 4 2%
where it's called
Callsites in the wild
12 representative callsites of 285, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
- in loop
-
x/tools @v0.48.0
internal/facts/facts.go:353
in loop -
go/tools @v0.7.0
lintcmd/cmd.go:548
in loop - in loop
- in loop
- in loop
- in loop
- in loop
- in loop
- in loop test
top callers
The modules that reach for it
The modules that call NewEncoder most in this snapshot.
- github.com/cloudwego/eino207%
- github.com/go-openapi/spec114%
- github.com/minio/minio104%
- github.com/heroiclabs/nakama93%
- github.com/weaviate/weaviate93%
siblings
More from encoding/gob
The other most-called functions in this package. See all →