Documentation
¶
Overview ¶
Command go-top-level-idents prints every top-level identifier (func, method, type, var, const, including grouped blocks) a single Go file declares, one per line. Used by scripts/affected-api-tests.sh's safety gate, which needs the real set, not a regex guess at it.
Usage: go run ./scripts/go-top-level-idents <file.go>
Click to show internal directories.
Click to hide internal directories.