github.com/spf13/cast.ToString
third-partyThe 3082nd most-called third-party function by production calls. Called 203 times across 16 modules; 191 of those run outside tests and generated code.
- prod calls
- 191
- non-test, non-generated
- all calls
- 203
- total callsites
- modules
- 16
- distinct callers
- in loop
- 34%
- of prod calls
- in tests
- 6%
- 12 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 ToString from notable Go projects. Open one on the map to see what else it hammers.
- Hugo 51 27%
- Cilium 2 1%
- Dgraph 2 1%
- Kubernetes 1 <1%
where it's called
Callsites in the wild
12 representative callsites of 203, prioritizing in-loop and non-test usage. We link to source, never display it.
-
cilium/cilium @v1.20.0
in loop - in loop
- in loop
- in loop
-
ory/x @v0.0.729
in loop - in loop
-
spf13/cast @v1.10.0
in loop - in loop
- in loop
- in loop
- in loop
- in loop
top callers
The modules that reach for it
The modules that call ToString most in this snapshot.
- github.com/pocketbase/pocketbase11356%
- github.com/gohugoio/hugo5829%
- github.com/spf13/cast136%
- github.com/spf13/viper31%
- github.com/cilium/cilium2<1%
siblings
More from github.com/spf13/cast
The other most-called functions in this package. See all →