A FEW SIMPLE STEPS
Get started
- Create a note and search for Go, Golang, or .go in the chooser.
- Paste the function or import a Go source file.
- Edit the source and compare an earlier version if needed.
- Download or copy the result and run your Go formatting and tests in the project.
Open editor takes you to the draft on this page. Paste or open a source file, or choose Try this example. Save to notebook keeps a named copy with your notes. Your workspace style stays unchanged.
Remember the reason for the code
Put package assumptions, expected inputs, and edge cases near the function you want to keep. A short comment about map ordering or an error path can make a snippet much more useful than source alone.
Use tags and stars to organize examples. Find and replace works within the editor, and comparison panes help inspect a changed function before you copy it into a package.
Bring the result back to your Go toolchain
The notebook does not run go build, go test, gofmt, or Go modules. Go currently has source editing and syntax highlighting without an automatic formatter.
Download the .go source and use your project to format, compile, and test it. Local browser storage keeps this note on one device; export a backup when you need another copy.
A few questions
Is this a Go playground or compiler?
It is a Go source editor and local notebook. It does not execute Go, compile packages, or run gofmt.