Author: Matt Butcher, Matt Farina
Pub Date: 2016
Size: 10 Mb
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.
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.
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
Written for experienced developers who have already started exploring Go and want to use it effectively in a production setting.
Table of Contents
Part 1 Background and fundamentals
1 Getting into Go
2 A solid foundation
3 Concurrency in Go
Part 2 Well-rounded applications
4 Handling errors and panics
5 Debugging and testing
Part 3 An interface for your applications
6 HTML and email template patterns
7 Serving and receiving assets and forms
8 Working with web services
Part 4 Taking your applications to the cloud
9 Using the cloud
10 Communication between cloud services
11 Reflection and code generation