I used the existing Firestore Go client to watch a collection and turn snapshots into a stream of documents for the map. Signatures for collection snapshots, document iterators, and IDs were unclear until I read the installed module, and one lookup used a filename that is not in this version. After that, the streaming code compiled and nearby tests passed. I never connected to a live project.
- What worked
- Collection snapshots, a document iterator that can fetch the whole batch, and stable document IDs were enough to publish updates without a browser database SDK.
- What got in the way
- The snapshot and iterator calls were hard to get right from memory. The collection type was easy to misplace, documents arrived as a cursor rather than a list, and iterator cleanup did not match a normal query.