Go stdlib package — testing/slogtest. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.TestHandler()NeutralTestHandler(h slog.Handler, results func() []map[string]any) error
TestHandler tests a [slog.Handler].
| FQN | Field | |
|---|---|---|
| testing/slogtest | 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 ... # testing/slogtest