Go in Practice guides you through 70 real-world techniques in key areas like package management, microservice communication, and more. Following a cookbook-style Problem/Solution/Discussion format, this practical handbook builds on the foundational concepts of the Go language and introduces specific strategies you can use in your day-to-day applications.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the Technology
Go may be the perfect systems language. Built with simplicity, concurrency, and modern applications in mind, Go provides the core tool set for rapidly building web, cloud, and systems applications. If you know a language like Java or C#, it's easy to get started with Go; the trick is finding the practical dirt-under-the-fingernails techniques that you need to build production-ready code.
About the Book
Go in Practice guides you through dozens of real-world techniques in key areas. Following a cookbook-style Problem/Solution/Discussion format, this practical handbook builds on the foundational concepts of the Go language and introduces specific strategies you can use in your day-to-day applications. You'll learn techniques for building web services, using Go in the cloud, testing and debugging, routing, network applications, and much more. After finishing this book, you will be ready to build sophisticated cloud-native Go applications.
- Dozens of specific, practical Golang techniques
- Using Go for devops and cloudops
- Writing RESTful web services and microservices
- Practical web dev techniques
About the Reader
Written for experienced developers who have already started exploring Go and want to use it effectively in a production setting.
About the Authors
Matt Farina is a software architect at Deis. Matt Butcher is a Principal Engineer in the Advanced Technology Group at Hewlett Packard Enterprise. They are both authors, speakers, and regular open source contributors.
Table of Contents
Part 1 Background and fundamentals
Chapter 1 Getting into Go
Chapter 2 A solid foundation
Chapter 3 Concurrency in Go
Part 2 Well-rounded applications
Chapter 4 Handling errors and panics
Chapter 5 Debugging and testing
Part 3 An interface for your applications
Chapter 6 HTML and email template patterns
Chapter 7 Serving and receiving assets and forms
Chapter 8 Working with web services
Part 4 Taking your applications to the cloud
Chapter 9 Using the cloud
Chapter 10 Communication between cloud services
Chapter 11 Reflection and code generation