Program and deploy fast, scalable web services and create high-performance RESTful APIs using Go
This book will take you through the most important aspects of designing, building, and deploying a web service utilizing idiomatic REST practices with a focus on speed, security, and flexibility. You will begin by building your first API in Go using the HTTP package. You will look at designing and building your application including popular design structures like Model-View-Controller. You will also understand methods for deploying code to staging and development. Finally, you will see how the security features in Go can be used for protection against SQL injection, and sensitive data compromise.
By the end of this book, you will have achieved a high level of proficiency in building and deploying web services and web APIs with Go.
What You Will Learn
Familiarize yourself with RESTful practices and apply them in Go
Acquaint yourself with the best practices for API design such as URL routing and HTTP response methods
Utilize useful middleware and frameworks to augment applications otherwise relying on pure Go
Understand the basic and complex authentication models for APIs
Deploy your code to staging and development environments
Look at ways to make your Go web services as speedy and thrifty as possible
Secure your web services
Ingest your own API and make it appealing to other developers
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.