Go Web Programming teaches you how to build scalable, high-performance web applications in Go using modern design principles.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the Technology
The Go language handles the demands of scalable, high-performance web applications by providing clean and fast compiled code, garbage collection, a simple concurrency model, and a fantastic standard library. It's perfect for writing microservices or building scalable, maintainable systems.
About the Book
Go Web Programming teaches you how to build web applications in Go using modern design principles. You'll learn how to implement the dependency injection design pattern for writing test doubles, use concurrency in web applications, and create and consume JSON and XML in web services. Along the way, you'll discover how to minimize your dependence on external frameworks, and you'll pick up valuable productivity techniques for testing and deploying your applications.
- Testing and benchmarking
- Using concurrency
- Deploying to standalone servers, PaaS, and Docker
- Dozens of tips, tricks, and techniques
About the Reader
This book assumes you're familiar with Go language basics and the general concepts of web development.
About the Author
Sau Sheong Chang is Managing Director of Digital Technology at Singapore Power and an active contributor to the Ruby and Go communities.
Table of Contents
Part 1 Go and web applications
Chapter 1 Go and web applications
Chapter 2 Go ChitChat
Part 2 Basic web applications
Chapter 3 Handling requests
Chapter 4 Processing requests
Chapter 5 Displaying content
Chapter 6 Storing data
Part 3 Being real
Chapter 7 Go web services
Chapter 8 Testing your application
Chapter 9 Leveraging Go concurrency
Chapter 10 Deploying Go