sdk/golang/Standard Library/GoTextTemplateParse
Standard Library

GoTextTemplateParse

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

Other Methods

.ActionNode.Copy()Neutral
#
Signature
ActionNode.Copy() Node

ActionNode.Copy function.

.ActionNode.String()Neutral
#
Signature
ActionNode.String() string

ActionNode.String function.

.BoolNode.Copy()Neutral
#
Signature
BoolNode.Copy() Node

BoolNode.Copy function.

.BoolNode.String()Neutral
#
Signature
BoolNode.String() string

BoolNode.String function.

.BranchNode.Copy()Neutral
#
Signature
BranchNode.Copy() Node

BranchNode.Copy function.

.BranchNode.String()Neutral
#
Signature
BranchNode.String() string

BranchNode.String function.

.BreakNode.Copy()Neutral
#
Signature
BreakNode.Copy() Node

BreakNode.Copy function.

.BreakNode.String()Neutral
#
Signature
BreakNode.String() string

BreakNode.String function.

.ChainNode.Add()Neutral
#
Signature
ChainNode.Add(field string)

Add adds the named field (which should start with a period) to the end of the chain.

.ChainNode.Copy()Neutral
#
Signature
ChainNode.Copy() Node

ChainNode.Copy function.

Fully-Qualified Names

FQNField
text/template/parsefqns[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 ...  # text/template/parse