github.com/golang/protobuf/proto.CompactTextString
third-partyThe 2040th most-called third-party function by production calls. Called 2,104 times across 33 modules; 303 of those run outside tests and generated code.
No change in production calls since 2026-W37.
All of github.com/golang/protobuf/proto → Docs on pkg.go.dev ↗
- prod calls
- 303
- non-test, non-generated
- all calls
- 2,104
- total callsites
- modules
- 33
- distinct callers
- in loop
- <1%
- of prod calls
- in tests
- <1%
- 19 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 function67%A direct call to an exported package function, resolved by type.
- Package function (by syntax)33%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into CompactTextString from notable Go projects. Open one on the map to see what else it hammers.
- etcd 2 <1%
where it's called
Callsites in the wild
12 representative callsites of 2,104, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
golang/groupcache @v0.0.0-20241129210726-2c02b8208cf8
in loop test -
golang/groupcache @v0.0.0-20241129210726-2c02b8208cf8
in loop test - in loop test
- in loop test
-
dgraph-io/badger @v1.6.2
-
etcd/api/v3 @v3.7.1
etcdserverpb/raft_internal_stringer.go:155
-
-
-
-
-
top callers
The modules that reach for it
The modules that call CompactTextString most in this snapshot.
- github.com/aliyun/aliyun-tablestore-go-sdk35817%
- google.golang.org/appengine31515%
- github.com/hyperledger/fabric30414%
- github.com/v2fly/v2ray-core1316%
- github.com/v2ray/v2ray-core1316%
siblings
More from github.com/golang/protobuf/proto
The other most-called functions in this package. See all →