If you use Go and OAuth2 you should look at this | Hacker News Reader