Twitz Coding Session in Go — Cobra + Viper CLI Wrap Up + Twitter Data Retrieval

  1. Twitz Coding Session in Go — Cobra + Viper CLI for Parsing Text Files
  2. Twitz Coding Session in Go — Cobra + Viper CLI with Initial Twitter + Cassandra Installation
  3. Twitz Coding Session in Go — Cobra + Viper CLI Wrap Up + Twitter Data Retrieval (this post)

The Codez

In the previous posts I outlined two specific functions that were built out:

  • Part 1 — The config function for the twitz config command.
  • Part 2 — The parse function for the twitz parse command.
Config.go
Parse.go Code Snippet
buildTwitterListFunction.go Snippet
GetBearerToken for Twitter API Snippet
Findem Snippet
  1. Twitz Coding Session in Go — Cobra + Viper CLI for Parsing Text Files
  2. Twitz Coding Session in Go — Cobra + Viper CLI with Initial Twitter + Cassandra Installation
  3. Twitz Coding Session in Go — Cobra + Viper CLI Wrap Up + Twitter Data Retrieval (this post)

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adron Hall

Adron Hall

Software dev, data, heavy metal, transit, economics, freethought, atheism, cycling, livability, beautiful things & adrenaline junkie.