Go stdlib package — go/types. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.AssertableTo()NeutralAssertableTo(V *Interface, T Type) bool
AssertableTo reports whether a value of type V can be asserted to have type T.
.AssignableTo()NeutralAssignableTo(V Type, T Type) bool
AssignableTo reports whether a value of type V is assignable to a variable
.Basic.Info()NeutralBasic.Info() BasicInfo
Info returns information about properties of basic type b.
| FQN | Field | |
|---|---|---|
| go/types | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
// standard library — no go.mod entry required
from codepathfinder.go_rule import ... # go/types