Simplifying RESTful Services with Popular Go Frameworks

In this chapter, we are going to use different frameworks for simplifying the process of building REST services. First, we will take a quick look at go-restful, a REST API creation framework, and then move to a framework called Gin. We will build a Metro Rail API in this chapter. The frameworks that we will discuss are fully-fledged web frameworks that can also be used to create REST APIs in a short time. We will also talk a lot about resources and REST verbs in this chapter. We will then try to integrate a small database called SQLite3 with our API. Finally, we explore revel.go and see how to prototype our REST API with it.

In this chapter, we will cover the following topics:

  • go-restful ...

Get Hands-On RESTful Web Services with Go - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.