flag.FlagSet.Args
standard libraryThe 1204th most-called standard-library method by production calls. Called 546 times across 79 modules; 525 of those run outside tests and generated code.
- prod calls
- 525
- non-test, non-generated
- all calls
- 546
- total callsites
- modules
- 79
- distinct callers
- in loop
- 1%
- of prod calls
- in tests
- 4%
- 21 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 →
- Concrete method100%A method on a value whose type is known exactly.
who calls this
Notable callers
Production calls into FlagSet.Args from notable Go projects. Open one on the map to see what else it hammers.
where it's called
Callsites in the wild
12 representative callsites of 546, prioritizing in-loop and non-test usage. We link to source, never display it.
-
XTLS/Xray-core @v1.260327.0
in loop -
golang/dep @v0.5.4
in loop - in loop
- in loop
-
xtls/xray-core @v1.260327.0
in loop -
x/text @v0.40.0
cmd/gotext/main.go:160
in loop - in loop test
- in loop test
- in loop test
-
tailscale.com @v1.102.2
cmd/tailscale/cli/jsonoutput/jsonoutput_test.go:120
in loop test -
x/tools @v0.48.0
go/buildutil/tags_test.go:102
in loop test - in loop test
top callers
The modules that reach for it
The modules that call FlagSet.Args most in this snapshot.
- github.com/hashicorp/nomad18434%
- github.com/hashicorp/consul5310%
- github.com/u-root/u-root397%
- github.com/opentofu/opentofu367%
- github.com/hashicorp/terraform346%
siblings
More from flag
The other most-called members in this package. See all →