Standard Library

GoUnicode

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

Other Methods

.In()Neutral
#
Signature
In(r rune, ranges *RangeTable) bool

In reports whether the rune is a member of one of the ranges.

.Is()Neutral
#
Signature
Is(rangeTab *RangeTable, r rune) bool

Is reports whether the rune is in the specified table of ranges.

.IsControl()Neutral
#
Signature
IsControl(r rune) bool

IsControl reports whether the rune is a control character.

.IsDigit()Neutral
#
Signature
IsDigit(r rune) bool

IsDigit reports whether the rune is a decimal digit.

.IsGraphic()Neutral
#
Signature
IsGraphic(r rune) bool

IsGraphic reports whether the rune is defined as a Graphic by Unicode.

.IsLetter()Neutral
#
Signature
IsLetter(r rune) bool

IsLetter reports whether the rune is a letter (category L).

.IsLower()Neutral
#
Signature
IsLower(r rune) bool

IsLower reports whether the rune is a lower case letter.

.IsMark()Neutral
#
Signature
IsMark(r rune) bool

IsMark reports whether the rune is a mark character (category M).

.IsNumber()Neutral
#
Signature
IsNumber(r rune) bool

IsNumber reports whether the rune is a number (category N).

.IsOneOf()Neutral
#
Signature
IsOneOf(ranges []*RangeTable, r rune) bool

IsOneOf reports whether the rune is a member of one of the ranges.

Fully-Qualified Names

FQNField
unicodefqns[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 ...  # unicode