RighToGo¶
RighToGo is a Kubex Ecosystem VSCode extension for running Go scripts quickly, safely, and with minimal setup friction.
Goal: enable short Go experimentation cycles, with or without a full project structure.
What it solves¶
- Avoids manual
go.modsetup for standalone scripts. - Keeps interactive execution (
stdin/stdout) through the integrated terminal. - Enforces eligibility checks to prevent incorrect execution of library files.
- Provides a path for LLM/MCP-assisted diagnostics (MVP stub).
High-level flow¶
flowchart LR
A["Go file opened"] --> B{"go.mod in directory?"}
B -->|"Yes"| C["go run file.go"]
B -->|"No"| D["Create temp directory"]
D --> E["go mod init"]
E --> F["go mod tidy"]
F --> G["go run file.go"]
G --> H["Temporary cleanup"] Main commands¶
RighToGo: Run Current Go ScriptRighToGo: Run Current Go Script (With Args)RighToGo: Run Current Go Script (New Window)RighToGo: Ask LLM About This Script