Golings
Fix small broken Go programs until they compile and pass, Rustlings-style
Every exercise file starts with the comment I AM NOT DONE, and golings will not move on until you delete it, even once the code compiles. There is a reason for that. In his Conf42 Golang 2023 talk the author pointed out that a program which compiles can look like a pass, so exercises carry comments spelling out what correct means.
Free · No login · Terminal · Beginner

About Golings
The set has 43 exercises. Thirty-four are compile exercises, beginning with variables1, where a declaration has lost its variable name; nine are test exercises, where the code builds but a test fails. Topics run through variables, functions, if, switch, primitive types, arrays, slices, maps, range, structs, anonymous functions and generics, and the last three are about concurrency. In concurrent2, a hundred goroutines bump one counter, and the hint steers you to a mutex so the test sees 100. golings watch re-runs your current exercise on every save, and golings hint prints a nudge rather than an answer.
Rustlings is the direct model, done marker included. Exercism's Go track adds mentors and a much larger catalogue, while golings stays as one folder on your machine and one command.
Questions about Golings
Is there a way to try the Go exercises without installing anything?
Made this game? Claim it →

Tips and discussion
No tips yet.
Sign in to share a tip.