Go / Intermediate · Free public pilot
Intermediate Go in 7 Days
Build a task queue with protected state, stable reports and tests of its command loop.
Start your first lesson →Build on the Go beginner course.
You should be comfortable with Go functions, slices, structs, maps and returned errors. Allow about 100–115 minutes a day, with a longer final project. Split a day across sessions if you need more time.
Run Go 1.27 in your browser with code-playpad’s experimental compiler. The first Run downloads about 21 MB and caches the toolchain. Enter console input before pressing Run.
Each day ends with independent practice. Day 7 includes a multi-file project, an optional Go project download and a review to try after a few days. Progress is saved in this browser.
Day 1 · About 99 minutes
Build Around Types and Methods
Use named types and pointer receivers to change a record deliberately.
- From Reading Records to Tasks 25 min · Read, predict and practice
- Change the Original Record 25 min · Read, predict and practice
- Put Behavior on a Type 25 min · Read, predict and practice
- Checkpoint: Protect a State Transition 24 min · Independent checkpoint
Day 2 · About 105 minutes
Understand Slice Storage
Recognize shared backing arrays and return independent snapshots.
- See When Slices Share Storage 25 min · Read, predict and practice
- Reason About append 25 min · Read, predict and practice
- Return a Separate Slice 25 min · Read, predict and practice
- Checkpoint: Hand Out Recent Entries Safely 30 min · Independent checkpoint
Day 3 · About 104 minutes
Protect Records and Sort Reports
Build a map-backed queue with stable IDs and deterministic reports.
- Update Records in a Map 25 min · Read, predict and practice
- Make a Report Deterministic 25 min · Read, predict and practice
- Protect Unique IDs 30 min · Read, predict and practice
- Checkpoint: List Open Tasks in Order 24 min · Independent checkpoint
Day 4 · About 105 minutes
Use Interfaces at Boundaries
Choose a small interface and send output through io.Writer.
- Describe Behavior with an Interface 25 min · Read, predict and practice
- Know Which Type Implements the Interface 25 min · Read, predict and practice
- Write Through io.Writer 25 min · Read, predict and practice
- Checkpoint: Design a Small Interface 30 min · Independent checkpoint
Day 5 · About 102 minutes
Parse Commands and Wrap Errors
Protect input boundaries and preserve a cause with errors.Is.
- Recognize a Known Error 25 min · Read, predict and practice
- Add Context and Keep the Cause 25 min · Read, predict and practice
- Parse Commands Without Losing the Title 28 min · Read, predict and practice
- Checkpoint: Validate a Command ID 24 min · Independent checkpoint
Day 6 · About 112 minutes
Test Input and Output
Inject readers and writers, compare transcripts and check I/O failures.
- Inject a Reader 25 min · Read, predict and practice
- Verify a Full Transcript 35 min · Read, predict and practice
- Check an I/O Failure 28 min · Read, predict and practice
- Checkpoint: Test a Stream Summary 24 min · Independent checkpoint
Day 7 · About 130 minutes
Build the Task Queue
Run, test and extend the queue, then build a loan register independently.
- Run the Task Queue 20 min · Read, predict and practice
- Trace a Command Through the Files 18 min · Read, predict and practice
- Run the Queue Contract Checks 20 min · Read, predict and practice
- Report Open Tasks and Download the Project 22 min · Read, predict and practice
- On Your Own: An Equipment Loan Register 50 min · Independent checkpoint
- Come Back Later: Copies, Errors, Interfaces and Reports 40 min · Extra delayed review