flag.Arg
standard libraryThe 1901st most-called standard-library function by production calls. Called 332 times across 99 modules; 323 of those run outside tests and generated code.
- prod calls
- 323
- non-test, non-generated
- all calls
- 332
- total callsites
- modules
- 99
- distinct callers
- in loop
- 7%
- of prod calls
- in tests
- <1%
- 2 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 Arg from notable Go projects. Open one on the map to see what else it hammers.
- Go (golang.org/x) 22 7%
- Tailscale 13 4%
- containerd 9 3%
- Uber Go 5 2%
- Grafana 4 1%
where it's called
Callsites in the wild
12 representative callsites of 332, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
tinygo-org/tinygo @v0.41.1
in loop - in loop
-
unknwon/the-way-to-go_ZH_CN @v0.0.0-20220625101809-7a54d34d3657
in loop -
yuin/gopher-lua @v1.1.2
in loop -
x/tools @v0.48.0
internal/modindex/gomodindex/cmd.go:63
in loop -
google.golang.org/appengine @v1.6.8
cmd/aefix/main.go:84
in loop -
hashicorp/hcl/v2 @v2.24.0
in loop -
x/text @v0.40.0
collate/tools/colcmp/colcmp.go:522
in loop - in loop
-
tinygo-org/tinygo @v0.41.1
in loop
top callers
The modules that reach for it
The modules that call Arg most in this snapshot.
- github.com/couchbase/go-couchbase185%
- github.com/therecipe/qt185%
- github.com/mholt/archiver/v3144%
- github.com/unknwon/the-way-to-go_ZH_CN144%
- github.com/sagernet/tailscale134%
siblings
More from flag
The other most-called functions in this package. See all →