go-learning-ide
v2.0.0
Published
Interactive Go Learning IDE — Monaco Editor, AI Sidekick, integrated terminal, and 31+ commented examples
Maintainers
Readme
Go Learning IDE
An interactive, browser-based Go IDE powered by Monaco Editor (the engine behind VS Code).
31+ line-commented examples, integrated terminal, one-clickgo get, Go toolchain picker, and an optional AI Sidekick.
Author: Mohan Chinnappan | License: MIT
Installation
npm install -g go-learning-ideFeatures
| Feature | Details |
|---|---|
| Monaco Editor | Syntax highlighting, IntelliSense (265 items), hover docs, resizable panes |
| 31+ examples | Grouped sections: Basics → Concurrency → Generics → Stdlib |
| Every line commented | Each example explains the why, not just the what |
| Run code | Ctrl+Enter / ⌘+Enter — auto-saves before running |
| One-click go get | cannot find package → green banner → one click installs and re-runs |
| Integrated terminal | go fmt, go test, go build, go get — with ↑/↓ history |
| Go toolchain picker | Click the status bar to switch Go versions live |
| Guided tour | 11-step annotated walkthrough with --enable-tour |
| AI Sidekick | Ollama · Claude · OpenAI · xAI · Gemini with --enable-ai |
| Section search | Filter sidebar by name or category |
Screenshots

CLI Options
| Flag | Default | Description |
|---|---|---|
| -p, --port <n> | 3000 | Port |
| -h, --host <addr> | localhost | Host |
| --go <path> | auto-detect | Go toolchain path |
| --enable-tour | off | Splash + guided tour on first visit |
| --enable-ai | off | AI Sidekick button |
Example Sections
| Section | Files | |---|---| | 🔵 Basics | helloworld, variables, ifelse, for, switch | | 🔧 Functions & Types | functions, closures, structs, interfaces, generics | | 🚨 Errors | errors (sentinel, custom, wrapping, recover) | | ⚡ Concurrency | goroutines, channels, select | | 📦 Collections | maps, slices | | 📚 Stdlib | fmt, strings, os, json, http, testing | | 🔄 Defer & Flow | defer, math |
Guided Tour
go-ide --enable-tourRe-run anytime:
localStorage.removeItem("goide_tour_done_v1"); location.reload();Support This Work
If this tool has helped you, please consider donating to one of Mohan's suggested charities:
❤️ St. Jude Children's Research Hospital — fighting childhood cancer and other life-threatening diseases
🌍 Any charity supporting Developing Countries — food, clean water, education, or healthcare
Your generosity makes a real difference. Thank you.
License
MIT © Mohan Chinnappan

