Go typing practice
Typre is a free typing trainer for programmers. Instead of prose, you type real Go — brackets, operators and indentation included — and it measures WPM, accuracy, raw speed and consistency on every run.
- 184Go snippets
- 61for 15 second runs
- 63for 30 second runs
- 60for 60 second runs
What slows you down in Go
The := operator sits under your right hand in an awkward spot, and error handling means typing if err != nil { over and over — good news for practice, since that is exactly the pattern you will type most at work.
What the snippets cover
Structs with tags, methods with receivers, goroutines and channels, defer, interfaces, range loops, error wrapping with fmt.Errorf, and table-driven tests.
Snippets you will actually type
Three of the 61 short Go snippets, exactly as they appear in the app:
func Add(a, b int) int {
return a + b
}
for i, item := range items {
fmt.Printf("%d: %s\n", i, item)
}
counts := make(map[string]int)
counts["total"]++
How it works
Pick 15, 30 or 60 seconds. Snippets are served in shuffled order, so you never repeat one before finishing a full round — even across page reloads. Sign in to put scores on the leaderboard, race a friend on the same snippet in real time, or paste code from your own project. None of it is required: open the page and start typing.