gograph_public
Inspect a Go package's public contract by listing all exported symbols (functions, types, interfaces, variables) with file locations. Use to review API before changes or build integration docs.
Instructions
List all exported (public) symbols of a specific package: functions, types, interfaces, and variables. Requires .gograph/graph.json — run gograph build . first. Read-only; no side effects. WHEN TO USE: When reviewing a package's public contract before changing it, building integration documentation, or checking what a package exposes to callers. NOT TO USE: For unexported/private symbols (use gograph_node or gograph_focus); for API drift detection against a baseline (use gograph_api). RETURNS: List of exported symbol names with kinds and file locations; empty when the package has no exports or is not found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | The package name or path to inspect (e.g., 'internal/auth') |