Skip to Content
Building RESTful Web services with Go
book

Building RESTful Web services with Go

by Naren Yellavula
December 2017
Intermediate to advanced
316 pages
6h 58m
English
Packt Publishing
Content preview from Building RESTful Web services with Go

Summary

We started our chapter with understanding client software: how a software client works and how we can create a few. We saw the basics of writing a command-line application. CLI is a third-party package that enables us to create beautiful command-line applications. After installing it, we saw how to collect command-line arguments through the tool. We also explored commands and flags in our CLI application. Next, we looked into grequests, a package similar to Python requests to make API requests from Go code. We saw how to make GET, POST, and so on, requests from the client programs.

We next explored the GitHub API on how to fetch details like repositories. With the knowledge of both concepts, we developed a client that lists the repositories ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On RESTful Web Services with Go - Second Edition

Hands-On RESTful Web Services with Go - Second Edition

Naren Yellavula
Microservices with Go

Microservices with Go

Alexander Shuiskov

Publisher Resources

ISBN: 9781788294287Supplemental Content