In this episode, we’re going to use the cobra library to write a CLI for the DarkSky API. But we won’t take a standard DarkSky API client off the shelf this time! We’re going to build one from scratch, using gorequest, so we can see what goes into the process end to end.
Keep on rockin’, Gophers!
Check out the example code on Github.
If you enjoyed this screencast, please consider becoming a backer and supporting Go in 5 Minutes. Cool stickers and more await you!