github.com/pmezard/go-difflib/difflib.SplitLines
third-partyThe 8363rd most-called third-party function by production calls. Called 134 times across 24 modules; 71 of those run outside tests and generated code.
All of github.com/pmezard/go-difflib/difflib → Docs on pkg.go.dev ↗
- prod calls
- 71
- non-test, non-generated
- all calls
- 134
- total callsites
- modules
- 24
- distinct callers
- in loop
- 20%
- of prod calls
- in tests
- 47%
- 63 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 function94%A direct call to an exported package function, resolved by type.
- Package function (by syntax)6%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into SplitLines from notable Go projects. Open one on the map to see what else it hammers.
- Istio 20 28%
- Kubernetes 16 23%
- CockroachDB 5 7%
- Grafana 4 6%
where it's called
Callsites in the wild
12 representative callsites of 134, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
google/wire @v0.7.0
in loop - in loop
-
k8s.io/kubernetes @v1.36.3
cmd/kubeadm/app/cmd/upgrade/diff.go:184
in loop - in loop
- in loop
- in loop
-
google/wire @v0.7.0
in loop - in loop
-
k8s.io/kubernetes @v1.36.3
cmd/kubeadm/app/cmd/upgrade/diff.go:185
in loop - in loop
top callers
The modules that reach for it
The modules that call SplitLines most in this snapshot.
- github.com/pmezard/go-difflib1612%
- github.com/kubernetes/kubernetes1410%
- github.com/traefik/traefik/v3129%
- github.com/cockroachdb/pebble/v2107%
- github.com/istio/istio107%