Skip to content

go-yeti/golang-hn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hacker News - Golang App

A little Golang HackerNews App.

  • By default the app return 20 top stories top Hacker News, and other values can be specified by using the flag -qtt.

  • To save the result to a .csv file use the flag -csv

Updating the dependencies:

I would recommend to add the dep binary file to your /usr/local/bin

$ dep ensure

Running (default quantity of top stories = 20):

$ ./main 

Running and specifying a quantity of 45 topstories:

$ ./main -qtt 45

Running to save in a CSV files (default quantity of top stories = 20):

$ ./main -csv

Running to save in a CSV files and selecting 45 top stories:

$ ./main -csv -qtt 45

by James Mallon

About

A little Golang app to deal with Hacker News API

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages