Go in Action, Second Edition

· ·
· Simon and Schuster
Ebook
384
Pages
Eligible

About this ebook

Get the eBook free when you register your print book at Manning.

Go in Action, Second Edition is the definitive guide to mastering Go’s unique type system and high-performance concurrency model. Coauthored by industry veterans Joel Holmes, Andrew Walker, and Go legend William Kennedy, this fully revised new edition reflects modern Go practices, replacing legacy environments with Go Modules and multi-module workspaces. You’ll find full coverage of Go Generics, native fuzz testing, and structured JSON processing, along with the architectural principles you’ll need to build AI-powered and agentic applications.

Go in Action, Second Edition also addresses the massive shifts in the software landscape caused by AI and agentic applications. You will learn how to design architectural boundaries using the Ports and Adapters pattern so that volatile LLM models and APIs can act as swappable adapters. These architectural decoupling techniques also ensure your core business logic remains completely unchanged, whether you are targeting a massive commercial LLM or a local model.

Two comprehensive appendices walk you through a full AI engineering exercise, where you build a high-performance vector search database with Qdrant, generate semantic embeddings, and implement an LLM-powered summarization pipeline using Ollama and LangChain for Go. Reviewer Hyeonggeun Oh of Amazon Web Services comments that the book’s “focus on modern patterns and AI integration directly mirrors the evolving demands of the industry.”

Go in Action, Second Edition meets you exactly at the intersection of modern application development and the established patterns and engineering practices that still govern reliable enterprise systems. The result is a comprehensive guide that helps you integrate Go into your daily workflow—from idiomatic code to orchestrating advanced, distributed systems.

  • Completely updated for modern Go, with examples requiring Go 1.25 or later
  • An entirely new chapter on generics, including type parameters, constraints, generic functions and data structures
  • Error handling, including sentinel errors, custom error types, and error wrapping
  • Testing workflows including unit testing, TDD, benchmarking, profiling, and Go’s built-in fuzz testing.
  • Updated concurrency coverage built around a practical concurrent RSS reader
  • Modern structured logging with log/slog alongside Go’s standard library
  • Go modules and workspaces, replacing the GOPATH-era dependency-management material from the first edition and showing how to organize larger, multimodule Go projects
  • New production-oriented architecture examples, including interfaces, dependency inversion, domain-driven design, and hexagonal architecture
  • Two brand-new AI-focused appendices covering LLM-powered summarization and retrieval-augmented generation
  • New and rewritten examples throughout designed around real applications

About the reader

Professional developers proficient in at least one object-oriented language who want to build high-performance backend systems, cloud native applications, or AI-integrated pipelines.

About the author

Joel Holmes is a software developer building cloud native applications at EasyPost. Andy Walker is a Google Developer Expert in Go and Gophercon staff member. A coauthor of the first edition of Go in Action, William Kennedy is a founding member of GoBridge.
Get the eBook free when you register your print book at Manning. Go in Action, Second Edition is the definitive guide to mastering Go’s unique type system and high-performance concurrency model. Coauthored by industry veterans Joel Holmes, Andrew Walker, and Go legend William Kennedy, this fully...

Discover more

About the author

Joel Holmes is a software developer focused on building cloud native applications. He has worked at several start-ups helping architect, design, and develop new products and services to help those companies develop and grow. Along the way, he was able to help establish tools and processes that helped development and increase quality. Joel is an Open Source contributor, including to DevOps projects that are written in Go such as VMWare's Carvel-vendir.

Andy Walker is a software engineer working with over a decade’s experience using Go. He has been recognized as a Google Developer Expert in Go and is a community organizer and Gophercon Staff member. He leads Go meetups, and has given many classes and presentations on the language.

William Kennedy is a seasoned software developer, author of the blog GoingGo.Net, and organizer for the Go-Miami and Miami MongoDB meetups.
Joel Holmes is a software developer focused on building cloud native applications. He has worked at several start-ups helping architect, design, and develop new products and services to help those companies develop and grow. Along the way, he was able to help establish tools and processes that he...

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.