os.Remove
standard libraryThe 206th most-called standard-library function by production calls. Called 11,019 times across 739 modules; 4,875 of those run outside tests and generated code.
3% in production calls vs 2026-W37 (4,735 → 4,875)
- prod calls
- 4,875
- non-test, non-generated
- all calls
- 11,019
- total callsites
- modules
- 739
- distinct callers
- in loop
- 17%
- of prod calls
- in tests
- 56%
- 6,144 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 Remove from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 302 6%
- containerd 111 2%
- Docker 90 2%
- Grafana 81 2%
- HashiCorp 63 1%
where it's called
Callsites in the wild
12 representative callsites of 11,019, prioritizing in-loop and non-test usage. We link to source, never display it.
-
argoproj/pkg @v0.13.6
in loop - in loop
-
CCTV/age @v0.0.0-20260829155415-4448f2097b2d
internal/generate.go:27
in loop - in loop
- in loop
-
go/storage @v1.68.0
transfermanager/downloader.go:128
in loop -
cockroachdb/cockroach @v19.2.12+incompatible
in loop -
miekg/dns @v0.6.114
cmd/atomdns/handlers/url/refetch.go:63
in loop -
hashicorp/consul @v1.22.7
in loop - in loop
- in loop
-
dgraph-io/badger/v4 @v4.9.6
in loop
top callers
The modules that reach for it
The modules that call Remove most in this snapshot.
- github.com/esengine/DeepSeek-Reasonix2863%
- github.com/kubernetes/kubernetes2662%
- github.com/drakkan/sftpgo2402%
- github.com/photoprism/photoprism2182%
- github.com/aliyun/aliyun-oss-go-sdk1812%
siblings
More from os
The other most-called functions in this package. See all →