Positron Go
November 1, 2025 · View on GitHub
Positron Go is a Positron extension that wires the gonb kernel into Positron so you can run Go notebooks alongside your Python and R work.
Features
- Detects when the extension is running inside Positron and surfaces Go-specific messaging
- Adds the command
Run Go sample in Positronto quickly validate your gonb setup - Uses the Positron runtime API to execute Go code through gonb without leaving the editor
Prerequisites
- Go
- The
gonbJupyter kernel installed and available on your PATH - Positron 2025.6.x or newer
- Install the
positron-goextension within Positron
Verify that gonb is installed:
go install github.com/janpfeifer/gonb@latest && \
go install golang.org/x/tools/cmd/goimports@latest && \
go install golang.org/x/tools/gopls@latest
// it's actually `$HOME/go/bin/gonb` if that directory is not on your PATH
gonb --version
Install the positron-go extension.
Development
npm run compile– compile TypeScript to JavaScript.npm run watch– compile on change for rapid iteration.npm run lint– run ESLint with the repository rules.npm run test– execute the extension tests.
- Install dependencies:
npm install - Press
F5in VS Code/Positron to launch a development host.
License
MIT – see LICENSE.