hnbot/main.go

10 lines
169 B
Go
Raw Normal View History

package main
func main() {
stories := fetchTopStoriesFromHN()
filtered := filterByRelevanceForSN(&stories)
for _, story := range *filtered {
postToSN(&story)
}
}