Go in Action, 2nd Edition

Go in Action, 2nd Edition book cover

Go in Action, 2nd Edition

Author(s): Joel Holmes (Author), Andy Walker (Author), William Kennedy (Author)

  • Publisher: Manning Publications
  • Publication Date: September 29, 2026
  • Edition: 2nd
  • Language: English
  • Print length: 384 pages
  • ISBN-10: 1633439704
  • ISBN-13: 9781633439702

Book Description

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

"Generics, real error handling, actual project structure, the stuff I had to go learn the hard way elsewhere is finally just in the book now."
—Mario Carrion, Paramount

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.

Written for working developers, this insightful book explains the “why” behind Go’s design decisions and shows you how those choices make it easier to write clean, safe code for highly concurrent software. It guides you through the creation of production-grade applications, including using Domain-Driven Design (DDD) and Hexagonal Architecture to build scalable, decoupled systems. Reviewer Rene G. Perrinof the Chicago Mercantile Exchange notes the “…excellent real-world examples of non-trivial tasks,” including a CLI conversion utility and a background RSS worker, that illustrate how to write software that behaves predictably under heavy workloads.

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 Ohof 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.

What's inside

• Build swappable, decoupled architectures using Hexagonal Design patterns
• Implement robust concurrency utilizing goroutines, channels, and contexts
• Write secure, fuzzy-tested code to handle unstructured LLM outputs
• Organize and version complex enterprise projects with Go Workspaces

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 Holmesis a software developer building cloud native applications at EasyPost. Andy Walkeris a Google Developer Expert in Go and Gophercon staff member. A coauthor of the first edition of Go in Action, William Kennedyis a founding member of GoBridge.

Table of Contents

1 Go is the solution
2 Diving into Go
3 Primitive types and operators
4 Collection types
5 Working with types
6 Generics
7 Errors in Go
8 Testing and tooling
9 Concurrency
10 The standard library
11 Working with larger projects
A Vector search with storage
B LLM-powered summarization

Editorial Reviews

Editorial Reviews

About the Author

Joel Holmesis 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 Walkeris 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 Kennedyis a seasoned software developer, author of the blog GoingGo.Net, and organizer for the Go-Miami and Miami MongoDB meetups.

View on Amazon

未经允许不得转载:电子书百科大全 » Go in Action, 2nd Edition

评论 抢沙发

评论前必须登录!

立即登录   注册