blogscot / hackernews

Yet another Hacker News clone example in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hacker News Clone

This repository contains a very simple clone of the Hacker News (HN) website. It is my solution to the Gophercises exercise #13. On this occasion, I chose to implement this exercise from scratch, as it didn't seem too difficult.

This HN implementation loads and caches 30 headlines using multiple goroutines to maximise loading speed. While the cache is valid, http requests to the web page will display the stored headlines; every 15 minutes the cached headlines are automatically refreshed.

About

Yet another Hacker News clone example in Go


Languages

Language:Go 71.0%Language:HTML 29.0%