os.Getuid
standard libraryThe 2067th most-called standard-library function by production calls. Called 578 times across 130 modules; 298 of those run outside tests and generated code.
No change in production calls since 2026-W37.
- prod calls
- 298
- non-test, non-generated
- all calls
- 578
- total callsites
- modules
- 130
- distinct callers
- in loop
- 2%
- of prod calls
- in tests
- 48%
- 276 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 Getuid from notable Go projects. Open one on the map to see what else it hammers.
- Docker 43 14%
- Tailscale 18 6%
- Cilium 9 3%
- containerd 6 2%
- Istio 6 2%
where it's called
Callsites in the wild
12 representative callsites of 578, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
89luca89/distrobox @v0.0.0-20260917150527-f60fb9d35ecf
in loop -
sagernet/tailscale @v1.102.1-sing-box-1.14-mod.5
in loop - in loop
- in loop
-
tailscale.com @v1.102.4
client/systray/systray.go:550
in loop -
moby/buildkit @v0.33.0
in loop test - in loop test
-
google/gvisor @v0.0.0-20260919054224-26f3455a4cb9
in loop test -
passteque/gluetun @v0.0.0-20260915122333-e2e4a0658aad
in loop test - in loop test
top callers
The modules that reach for it
The modules that call Getuid most in this snapshot.
- github.com/docker/docker437%
- github.com/moby/moby437%
- github.com/google/gvisor234%
- github.com/juicedata/juicefs234%
- github.com/tailscale/tailscale224%
siblings
More from os
The other most-called functions in this package. See all →