rustlings but for golang this time
This is a heavily modified fork of the original golings by BradMyrick.
This version has been enhanced to more accurately replicate the Rustlings experience, including:
- Enhanced CLI UI: A completely overhauled terminal interface using
lipglossfor a premium, responsive feel. - Interactive Watch Mode: No need to hit Enter! Real-time single-key commands ('n' for next, 'h' for hint, 'l' for list).
- Interactive Exercise List: A scrollable, searchable list within the watch mode that lets you jump to any exercise.
- State Persistence: Uses a local
.golings-statefile to track progress accurately, removing the need for// I AM NOT DONEmarkers. - Improved Hint System: Hints can be toggled on and off dynamically during the watch session.
First, you need to have go installed. You can install it by visiting the Go downloads page
go install github.com/bradmyrick/golings/golings@v0.0.1Add go/bin to your PATH if you want to run golings anywhere in your terminal.
- Clone the repository and open it in VSCode.
- You will be prompted to reopen the code in a devcontainer.
- Open a new terminal and run
golings watch.
All the exercises can be found in the directory exercises/<topic>.
Clone the repository:
git clone https://github.com/bradmyrick/golings.gitTo run the exercises in the recommended order while taking advantage of fast feedback loop, use the watch command:
golings watchn: Move to the next pending exercise.h: Toggle hint for the current exercise.l: Open the interactive list view to scroll and select exercises.q: Quit.
See CONTRIBUTING.md
