Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 749 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 749 Bytes

@golang_news

This tiny piece of Go code powers the Golang News account at Twitter.

It checks HackerNews, Reddit and the official Go blog for new content.

Build

$ go build

Plugins

$ cd plugins/golang_news
$ go build -buildmode=plugin

Run

Add your credential of your personal twitter bot to settings.json, look at settings.json.example for, well, an example.

The settings file is expect to be in the same directory as the executable.

Finally run the binary with the first argument pointing to the plugin (*.so file):

$ ./golang_news plugins/golang_news/golang_news.so