Comment

Comment by hombre_fatal

I don't get the emotions.

How you save/retrieve bytes isn't the interesting part of this blog post as it's elementary. He could have just defined an interface { save(id, doc), get(id) } and moved on.

If anyone seriously wanted to try to follow along with this code, googling how to use the filesystem in Go isn't beyond them. They'd have their own implementation from scratch just as the blog promises.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton