Go in Practice, Second Edition
eBook - ePub

Go in Practice, Second Edition

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Go in Practice, Second Edition

About this book

Practical techniques for building concurrent, cloud-native, and high performance Go applications—all accelerated with productivity-boosting AI tools. Go in Practice, Second Edition is full of tips, tricks, best practices, and expert insights into how to get things done with Go. It builds on your existing knowledge of the Go language, introducing specific strategies you can use to maximize your productivity in day-to-day dev work.In Go in Practice, Second Edition, you'll learn: • Concurrency with goroutines and channels
• Web servers and microservices with event streams and websockets
• Logging, caching, and data access from environment variables and files
• Cloud-native Go applications
• AI tools to accelerate your development workflow Go in Practice, Second Edition has been extensively revised by author Nathan Kozyra to cover the latest version of Go, along with new dev techniques, including productivity-boosting AI tools. It follows an instantly-familiar cookbook-style Problem/Solution/Discussion format, building on what you already know about Go with advanced or little-known techniques for concurrency, logging and caching, microservices, testing, deployment, and more. Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications. About the technology You've mastered the basics of Go—now what? To build production-quality Go applications, you'll need to handle concurrency, networking, file access, native communication protocols like gRPC and TCP/REST, and a host of other practical issues. Following a friendly cookbook format, this book gives you instantly-useful solutions to the problems you'll see on the job. About the book Go in Practice, Second Edition delivers dozens of practical techniques for writing and maintaining Go applications following a handy problem/solution/discussion format. This up-to-date revision covers the latest Go innovations, including generics, panics and other error handling tools, and modern concurrency patterns, along with advanced features like reflection and code generation. You'll also love the tips for integrating AI code completion into your development process. What's inside • Concurrency with goroutines and channels
• Web servers and microservices
• Logging, caching, and data access About the reader For intermediate developers with previous experience in Go. About the author Nathan Kozyra is a full-stack developer with twenty years of experience building production web and mobile applications. He's worked with Go since 2009 in both large companies and startups. Matt Butcher and Matt Farina authored the first edition of this book. Table of Contents Part 1
1 Getting started with Go
2 A solid foundation: Building a command-line application
3 Structs, interfaces, and generics
Part 2
4 Handling errors and panics
5 Concurrency in Go
6 Formatting, testing, debugging, and benchmarking
7 File access and basic networking
Part 3
8 Building an HTTP server
9 HTML and email template patterns
10 Sending and receiving data
11 Working with external services
Part 4
12 Cloud-ready applications and communications
13 Reflection, code generation, and advanced Go

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Go in Practice, Second Edition by Nathan Kozyra,Matt Butcher,Matt Farina in PDF and/or ePUB format, as well as other popular books in Computer Science & Cloud Computing. We have over one million books available in our catalogue for you to explore.

Information

Publisher
Manning
Year
2025
eBook ISBN
9781638357117
Edition
0

Table of contents

  1. Praise for the first edition
  2. Go in Practice, Second Edition
  3. copyright
  4. dedication
  5. contents
  6. preface
  7. acknowledgments
  8. about this book
  9. about the authors
  10. about the cover illustration
  11. Part 1 Background and fundamentals
  12. 1 Getting started with Go
  13. 2 A solid foundation: Building a command-line application
  14. 3 Structs, interfaces, and generics
  15. Part 2 Building robust applications
  16. 4 Handling errors and panics
  17. 5 Concurrency in Go
  18. 6 Formatting, testing, debugging, and benchmarking
  19. 7 File access and basic networking
  20. Part 3 Building web applications end to end
  21. 8 Building an HTTP server
  22. 9 HTML and email template patterns
  23. 10 Sending and receiving data
  24. 11 Working with external services
  25. Part 4 Go in the cloud, microservices, and advanced topics
  26. 12 Cloud-ready applications and communications
  27. 13 Reflection, code generation, and advanced Go
  28. index