Standard Library

GoHtml

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

Other Methods

.EscapeString()Neutral
#
Signature
EscapeString(s string) string

EscapeString escapes special characters like "<" to become "&lt;". It

.UnescapeString()Neutral
#
Signature
UnescapeString(s string) string

UnescapeString unescapes entities like "&lt;" to become "<". It unescapes a

Fully-Qualified Names

FQNField
htmlfqns[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 ...  # html