CodeQL library for Go
codeql/go-all 1.1.2-dev (changelog, source)
Search

Predicate ControlFlow::entryNode

Gets the entry node of function or file root.

Import path

import semmle.go.controlflow.ControlFlowGraph
Node entryNode(Root root)