made to suck less, including:
All checks were successful
continuous-integration/drone/push Build is passing

* `make` works again, exporting correct database file path for local dev
* better formatting of durations
* refactored duration math to misc functions
* now tracks and displays score
* displays short-lifetime fp wipeouts in red
This commit is contained in:
2020-03-25 07:50:10 -07:00
parent fe1c4df4f1
commit 0d9ed8874f
9 changed files with 84 additions and 29 deletions

View File

@@ -17,6 +17,7 @@ type HNFrontPage struct {
HighestRank uint // frontpage index
Rank uint // frontpage index
Title string // submission title
Score uint // updoots
URL string // duh
}
@@ -27,6 +28,7 @@ type HNStoryRank struct {
Title string // submission title
URL string // duh
Rank uint // frontpage index
Score uint // updoots
FetchedAt time.Time // identical within fetchid
}