os.Getuid
standard libraryThe 2092nd most-called standard-library function by production calls. Called 781 times across 137 modules; 316 of those run outside tests and generated code.
0% in production calls vs 2026-W48 (315 → 316)
- prod calls
- 316
- non-test, non-generated
- all calls
- 781
- total callsites
- modules
- 137
- distinct callers
- in loop
- 2%
- of prod calls
- in tests
- 59%
- 461 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 21 7%
- Cilium 9 3%
- containerd 6 2%
- Istio 6 2%
where it's called
Callsites in the wild
12 representative callsites of 781, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
89luca89/distrobox @v0.0.0-20261127072711-dc7fcd60af56
in loop -
sagernet/tailscale @v1.106.1-sing-box-1.15-mod.1
in loop - in loop
- in loop
-
tailscale.com @v1.106.1
client/systray/systray.go:554
in loop -
moby/buildkit @v0.35.1
in loop test - in loop test
-
google/gvisor @v0.0.0-20261130174204-4c7ed132a44d
in loop test - in loop test
-
passteque/gluetun @v0.0.0-20261120162833-eb3c7ec79d94
in loop test
top callers
The modules that reach for it
The modules that call Getuid most in this snapshot.
- github.com/tailscale/tailscale8811%
- tailscale.com8811%
- github.com/docker/docker436%
- github.com/moby/moby436%
- github.com/passteque/gluetun314%
siblings
More from os
The other most-called functions in this package. See all →