gograph_globals
Audit global variables, constants, and shared package states in a Go package. Discover mutable global state, check config values, or identify thread-safety hazards.
Instructions
Audit all global variable declarations, shared package states, and constants defined inside the repository. BEHAVIOR & SAFETY: This is a 100% local, read-only static analysis tool. It has no side effects, requires no authorization or credentials, has no rate limits, and performs zero destructive modifications. USAGE GUIDELINES: Call this tool to discover mutable global state, check config values, or identify thread-safety hazards. Do NOT use for local scope variables. COMPLETENESS: Returns a structured checklist of all global variables, constants, package paths, and types.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | The package name or path to inspect (e.g., 'internal/config') |