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 ...