Go beyond Go syntax into the language’s unique perspective on program design.
Through engaging hands-on examples,
Go by Example will teach you to think differently about programming in Go. You’ll get to grips with the “Go mindset”, writing code that’s simple, straightforward, and easy to understand for your fellow Go developers. You’ll discover how Go’s tooling helps you write code that’s robust and testable, and see just how productive you can be with Go's rich set of built-in packages.
In
Go by Example you will learn how to:
- Understand what makes Go different and adopt its philosophy for simple, pragmatic, and straightforward code
- Write idiomatic code that’s robust, efficient, maintainable, and inherently testable by design
- Identify common Go mistakes and apply proven patterns for higher quality code
- Structure and organize effective Go packages and APIs
- Build performant concurrent programs with Go’s unique concurrency
Go by Example explores what makes Go so dramatically different from other languages. Through hands-on and realistic project examples—like command-line tools, web services, and scalable concurrent programs—it helps experienced developers unlearn habits and quickly become productive in crafting truly Go-like, high-quality code.