Skip to content

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.

Review Go Beginner →

Day 1 · About 99 minutes

Build Around Types and Methods

Use named types and pointer receivers to change a record deliberately.

  1. From Reading Records to Tasks 25 min · Read, predict and practice
  2. Change the Original Record 25 min · Read, predict and practice
  3. Put Behavior on a Type 25 min · Read, predict and practice
  4. 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.

  1. See When Slices Share Storage 25 min · Read, predict and practice
  2. Reason About append 25 min · Read, predict and practice
  3. Return a Separate Slice 25 min · Read, predict and practice
  4. 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.

  1. Update Records in a Map 25 min · Read, predict and practice
  2. Make a Report Deterministic 25 min · Read, predict and practice
  3. Protect Unique IDs 30 min · Read, predict and practice
  4. 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.

  1. Describe Behavior with an Interface 25 min · Read, predict and practice
  2. Know Which Type Implements the Interface 25 min · Read, predict and practice
  3. Write Through io.Writer 25 min · Read, predict and practice
  4. 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.

  1. Recognize a Known Error 25 min · Read, predict and practice
  2. Add Context and Keep the Cause 25 min · Read, predict and practice
  3. Parse Commands Without Losing the Title 28 min · Read, predict and practice
  4. 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.

  1. Inject a Reader 25 min · Read, predict and practice
  2. Verify a Full Transcript 35 min · Read, predict and practice
  3. Check an I/O Failure 28 min · Read, predict and practice
  4. 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.

  1. Run the Task Queue 20 min · Read, predict and practice
  2. Trace a Command Through the Files 18 min · Read, predict and practice
  3. Run the Queue Contract Checks 20 min · Read, predict and practice
  4. Report Open Tasks and Download the Project 22 min · Read, predict and practice
  5. On Your Own: An Equipment Loan Register 50 min · Independent checkpoint
  6. Come Back Later: Copies, Errors, Interfaces and Reports 40 min · Extra delayed review