made to suck less, including:
All checks were successful
continuous-integration/drone/push Build is passing
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:
2
hn/db.go
2
hn/db.go
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user