Book Image

Go : Building DevOps Tools

By : Matthew Spaulding, Bob Liu
Book Image

Go : Building DevOps Tools

By: Matthew Spaulding, Bob Liu

Overview of this book

A lot of new tools focussed for DevOps practices are getting built in Golang because of its focus for system programming. Docker, arguably one of the hottest container technologies right now, is written with Golang. With awesome support from Google, Go is set to be one of the most popular languages for DevOps for a pretty long time. In this course, you will first start with learning all about REST APIs. Then, you would be building a REST client library, during the course of which, you will be learning many new concepts. Finally, we will develop a command-line tool that would help developers interact with GitHub easily, and perform tasks like searching, cloning, ands forking repositories, as well as a lot of other conventional tasks. Needless to say, your tool would be interacting with the GitHub API heavily. Lastly, we would be looking at integrating our REST client library with this tool. By the end of this course, you would have become a master at Go, and would be able to seamlessly use it for your DevOps tasks.
Table of Contents (6 chapters)
Chapter 6
Writing the Core Library
Content Locked
Section 3
Writing Tests
In this video, we will write Basic Tests for Test Coverage of All Features. - Write test for Pork - Ensure that the features that we have implemented work