path.Base
standard libraryThe 559th most-called standard-library function by production calls. Called 1,606 times across 309 modules; 1,358 of those run outside tests and generated code.
- prod calls
- 1,358
- non-test, non-generated
- all calls
- 1,606
- total callsites
- modules
- 309
- distinct callers
- in loop
- 25%
- of prod calls
- in tests
- 15%
- 247 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 Base from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 108 8%
- Go (golang.org/x) 41 3%
- Gitea 34 3%
- Argo 23 2%
- Docker 17 1%
where it's called
Callsites in the wild
12 representative callsites of 1,606, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
caddyserver/certmagic @v0.25.4
in loop - in loop
- in loop
- in loop
- in loop
-
docker/distribution @v2.8.3+incompatible
in loop -
encr.dev @v1.57.13
v2/internals/pkginfo/names.go:216
in loop -
entgo.io/ent @v0.14.6
entc/gen/type.go:1067
in loop -
etcd-io/etcd @v2.3.8+incompatible
in loop - in loop
-
gitea.dev @v1.27.1
modules/packages/goproxy/metadata.go:74
in loop
top callers
The modules that reach for it
The modules that call Base most in this snapshot.
- github.com/rclone/rclone926%
- github.com/seaweedfs/seaweedfs654%
- gitea.dev493%
- github.com/go-gitea/gitea493%
- github.com/juicedata/juicefs392%
siblings
More from path
The other most-called functions in this package. See all →