⚙️ Options
Loading WebAssembly...
🎨 Canvas Output
Visual
📋 Console Output
Text
Welcome to nanoGo!
Select an example from the sidebar to get started! 🚀
🌐 Template Output
HTML
HTML template outputs will appear here when running template demos.
🧭 Go Execution Lab
Mermaid
Not running
Call stack
Local variables
| Name | Value |
|---|
Analyze the current code to build its Mermaid call graph.
✨ nanoGo AI
Local config
Connection & privacy
nanoGo sends nothing until you ask. This browser calls the configured OpenAI-compatible endpoint directly; normal CORS rules apply.
🔎 Symbol details
Editor
Inspect code in place
Click a variable or function in the editor. Functions show callers and callees; variables show the last value observed during a run.
🔬 Execution Inspector
Details
–total time
–interp time
–steps
–steps/ms
📁 SDK / Workspace
Multi-file VFS, go.mod and package graph
The active file runs directly. Add a second .go file to enable module-aware execution.
🌳 AST
Click a node to jump to its source line.
📞 Functions
📊 Benchmark
Runs the whole program N× on a fresh interpreter; output is suppressed.
🧭 Trace
Calls, goroutines, capability checks — timeline of the last traced run.
🔥 Heatmap
Darker = executed more often. Benchmark accumulates hits across all its iterations.