Standard Library

GoAst

Go stdlib package — go/ast. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.ArrayType.End()Neutral
#
Signature
ArrayType.End() token.Pos

ArrayType.End function.

.ArrayType.Pos()Neutral
#
Signature
ArrayType.Pos() token.Pos

ArrayType.Pos function.

.AssignStmt.End()Neutral
#
Signature
AssignStmt.End() token.Pos

AssignStmt.End function.

.AssignStmt.Pos()Neutral
#
Signature
AssignStmt.Pos() token.Pos

AssignStmt.Pos function.

.BadDecl.End()Neutral
#
Signature
BadDecl.End() token.Pos

BadDecl.End function.

.BadDecl.Pos()Neutral
#
Signature
BadDecl.Pos() token.Pos

BadDecl.Pos function.

.BadExpr.End()Neutral
#
Signature
BadExpr.End() token.Pos

BadExpr.End function.

.BadExpr.Pos()Neutral
#
Signature
BadExpr.Pos() token.Pos

BadExpr.Pos function.

.BadStmt.End()Neutral
#
Signature
BadStmt.End() token.Pos

BadStmt.End function.

.BadStmt.Pos()Neutral
#
Signature
BadStmt.Pos() token.Pos

BadStmt.Pos function.

Fully-Qualified Names

FQNField
go/astfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

go.mod
// standard library — no go.mod entry required
rule.py
from codepathfinder.go_rule import ...  # go/ast