go/ast.CommentGroup.Pos
standard libraryThe 6962nd most-called standard-library method by production calls. Called 94 times across 15 modules; 85 of those run outside tests and generated code.
- prod calls
- 85
- non-test, non-generated
- all calls
- 94
- total callsites
- modules
- 15
- distinct callers
- in loop
- 65%
- of prod calls
- in tests
- 10%
- 9 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 CommentGroup.Pos from notable Go projects. Open one on the map to see what else it hammers.
- Go (golang.org/x) 29 34%
- Protocol Buffers 1 1%
where it's called
Callsites in the wild
12 representative callsites of 94, prioritizing in-loop and non-test usage. We link to source, never display it.
-
encr.dev @v1.57.13
v2/parser/apis/directive/directive.go:171
in loop - in loop
- in loop
- in loop
- in loop
- in loop
-
goplus/xgo @v1.7.5
in loop - in loop
-
mgechev/revive @v1.15.0
in loop -
tinygo-org/tinygo @v0.41.1
in loop -
x/tools @v0.48.0
go/analysis/passes/modernize/importcomment.go:35
in loop -
gorm.io/gen @v0.3.28
internal/parser/parser.go:91
in loop
top callers
The modules that reach for it
The modules that call CommentGroup.Pos most in this snapshot.
- golang.org/x/tools3335%
- mvdan.cc/gofumpt1516%
- github.com/goplus/xgo1415%
- github.com/hajimehoshi/ebiten/v255%
- encr.dev44%
siblings
More from go/ast
The other most-called members in this package. See all →