Part 9 of this project

Unread

Track read/unread state locally

Goal for this part

Track read/unread state locally.

Treat 09-Unread as the source of truth for this checkpoint. If your local tree drifted, re-clone that folder rather than mixing files from neighbors.

What you should already know

You do not need prior Fyne experience for part 1. Later parts assume you finished the earlier snapshots on the same machine.

  • Go 1.21+ is installed
  • Fyne’s system dependencies are available for your OS
  • You have a desktop session for the GUI window

Why Fyne fits Feedwell

Fyne gives a single Go codebase a real desktop window. An RSS reader teaches networking, XML parsing, and list UIs together.

A feed list plus item detail pane is classic master–detail. Keep HTTP fetches off the UI thread with goroutines.

Checkpoint

After you run the snapshot, you should recognize the behavior described in the goal—before you move on. If the window (or server) never appears, stop and fix the run steps.

Code shape

Snapshots stay small on purpose. Look for this kind of core call as you read the folder:

xml.NewDecoder(resp.Body).Decode(&rss)

How to run it

Clone the teaching repo, open 09-Unread, install what the README asks for, then run go run ..

git clone https://github.com/michaeldunga1/fcc-fyne-rss.git
cd fcc-fyne-rss/09-Unread
go mod tidy
go run .

Common mistakes

  • Ignoring platform-specific install notes in the snapshot README
  • Wiring the happy path only and ignoring empty states
  • Blocking the UI thread on a long operation
  • Losing selection after a refresh