Buy New
-
To see product details, add this item to your cart.
Ships from: Amazon.com Sold by: Amazon.com
Used - Like New
-
To see product details, add this item to your cart.
Ships from: Pensive Keyboard Books Sold by: Pensive Keyboard Books
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
Learning Go: An Idiomatic Approach to Real-World Go Programming
Purchase options and add-ons
Go has rapidly become the preferred language for building web services. Plenty of tutorials are available to teach Go's syntax to developers with experience in other programming languages, but tutorials aren't enough. They don't teach Go's idioms, so developers end up recreating patterns that don't make sense in a Go context. This practical guide provides the essential background you need to write clear and idiomatic Go.
No matter your level of experience, you'll learn how to think like a Go developer. Author Jon Bodner introduces the design patterns experienced Go developers have adopted and explores the rationale for using them. This updated edition also shows you how Go's generics support fits into the language.
This book helps you:
- Write idiomatic code in Go and design a Go project
- Understand the reasons behind Go's design decisions
- Set up a Go development environment for a solo developer or team
- Learn how and when to use reflection, unsafe, and cgo
- Discover how Go's features allow the language to run efficiently
- Know which Go features you should use sparingly or not at all
- Use Go's tools to improve performance, optimize memory usage, and reduce garbage collection
- Learn how to use Go's advanced development tools
- ISBN-101098139291
- ISBN-13978-1098139292
- Edition2nd
- PublisherO'Reilly Media
- Publication dateFebruary 20, 2024
- LanguageEnglish
- Dimensions7 x 0.99 x 9.19 inches
- Print length491 pages
Frequently bought together

Customers who viewed this item also viewed
- Go Programming Language, The (Addison-Wesley Professional Computing Series)PaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Wednesday, Sep 23Only 1 left in stock - order soon.
- 100 Go Mistakes and How to Avoid ThemPaperbackFREE Shipping by AmazonGet it as soon as Sunday, Sep 20Only 15 left in stock - order soon.
- Mastering Go: Leverage Go's expertise for advanced utilities, empowering you to develop professional softwarePaperbackFREE Shipping by AmazonGet it as soon as Monday, Sep 21Only 1 left in stock - order soon.
- Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable SystemsPaperbackFREE Shipping by AmazonGet it as soon as Sunday, Sep 20
- Learn Concurrent Programming with GoPaperbackFREE Shipping by AmazonGet it as soon as Monday, Sep 21Only 13 left in stock (more on the way).
Customers also bought or read
- Concurrency in Go: Tools and Techniques for Developers
Paperback$35.67$35.67$3.99 delivery Sep 28 - Oct 1 - Mastering Go: Leverage Go's expertise for advanced utilities, empowering you to develop professional software
Paperback$35.00$35.00FREE delivery Mon, Sep 21 - Cloud Native Go: Building Reliable Services in Unreliable Environments
Paperback$44.07$44.07FREE delivery Mon, Sep 21 - Kubernetes: Up and Running: Dive into the Future of Infrastructure
Paperback$43.99$43.99FREE delivery Sun, Sep 20 - Database Internals: A Deep Dive into How Distributed Data Systems Work
Paperback$36.33$36.33FREE delivery Sun, Sep 20 - Zero To Production In Rust: An introduction to backend development
Paperback$34.38$34.38Delivery Mon, Sep 21 - Distributed Services with Go: Your Guide to Reliable, Scalable, and Maintainable Systems
Paperback$37.99$37.99FREE delivery Wed, Sep 23 - AI Engineering: Building Applications with Foundation Models#1 Best SellerEnterprise Applications
Paperback$52.40$52.40FREE delivery Sun, Sep 20 - Software Architecture: The Hard Parts: Modern Trade-Off Analyses for Distributed Architectures
Paperback$43.99$43.99FREE delivery Mon, Sep 21 - Building Microservices: Designing Fine-Grained Systems
Paperback$44.49$44.49FREE delivery Mon, Sep 21 - A Philosophy of Software Design, 2nd Edition#1 Best SellerSoftware Testing
Paperback$19.87$19.87Delivery Sun, Sep 20 - Kubernetes in Action, Second Edition: Deploying and managing containers and cloud-native applications
Paperback$54.07$54.07FREE delivery Mon, Sep 21 - Learning OpenTelemetry: Setting Up and Operating a Modern Observability System
Paperback$30.60$30.60Delivery Sun, Sep 20 - Architecture Patterns with Python: Enabling Test-Driven Development, Domain-Driven Design, and Event-Driven Microservices
Paperback$37.10$37.10FREE delivery Sun, Sep 20 - Designing Distributed Systems: Patterns and Paradigms for Scalable, Reliable Systems Using Kubernetes
Paperback$45.76$45.76FREE delivery Sun, Sep 20 - TCP/IP Illustrated: The Protocols, Volume 1 (Addison-Wesley Professional Computing Series)#1 Best SellerTCP-IP
Hardcover$64.49$64.49FREE delivery Mon, Sep 21 - Observability Engineering: Achieving Production Excellence
Paperback$36.49$36.49FREE delivery Sep 29 - Oct 12 - Fundamentals of Software Architecture: A Modern Engineering Approach#1 Best SellerComputer Programming Logic
Paperback$52.40$52.40FREE delivery Sun, Sep 20 - The Pragmatic Programmer: Your Journey To Mastery, 20th Anniversary Edition (2nd Edition)
Hardcover$45.97$45.97FREE delivery Sun, Sep 20 - The Staff Engineer's Path: A Guide for Individual Contributors Navigating Growth and Change
Paperback$26.39$26.39Delivery Sun, Sep 20 - System Design Interview – An insider's guide#1 Best SellerObject-Oriented Software Design
Paperback$39.99$39.99FREE delivery Mon, Sep 21 - Site Reliability Engineering: How Google Runs Production Systems
Paperback$23.27$23.27Delivery Mon, Sep 21 - AI Systems Performance Engineering: Optimizing Model Training and Inference Workloads with GPUs, CUDA, and PyTorch
Paperback$87.70$87.70FREE delivery Mon, Sep 21
From the brand
-
Explore more Go resources
-
More From O'Reilly
-
Sharing the knowledge of experts
O'Reilly's mission is to change the world by sharing the knowledge of innovators. For over 40 years, we've inspired companies and individuals to do new things (and do them better) by providing the skills and understanding that are necessary for success.
Our customers are hungry to build the innovations that propel the world forward. And we help them do just that.
From the Publisher
From the Preface
Who Should Read This Book
This book is targeted at developers who are looking to pick up a second (or fifth) language. The focus is on people who are new to Go. This ranges from those who don’t know anything about Go other than it has a cute mascot, to those who have already worked through a Go tutorial or even written some Go code. The focus for Learning Go isn’t just how to write programs in Go; it’s how to write Go idiomatically. More experienced Go developers can find advice on how to best use the newer features of the language. The most important thing is that the reader wants to learn how to write Go code that looks like Go.
Experience is assumed with the tools of the developer trade, such as version control (preferably Git) and IDEs. Readers should be familiar with basic computer science concepts like concurrency and abstraction, as the book explains how they work in Go. Some of the code examples are downloadable from GitHub, and dozens more can be tried out online on The Go Playground. While an internet connection isn’t required, it is helpful when reviewing executable examples. Since Go is often used to build and call HTTP servers, some examples assume familiarity with basic HTTP concepts.
While most of Go’s features are found in other languages, Go makes different tradeoffs, so programs written in it have a different structure. Learning Go starts by looking at how to set up a Go development environment, and then covers variables, types, control structures, and functions. If you are tempted to skip over this material, resist the urge and take a look. It is often the details that make your Go code idiomatic. Some of what seems obvious at first glance might actually be subtly surprising when you think about it in depth.
Editorial Reviews
About the Author
Currently, he is a Staff Engineer at Datadog, leading the effort to simplify onboarding for their APM product. Previously, Jon was a Senior Distinguished Engineer at Capital One, working on tech commercialization, open source, testing, the semantic engine that provides payment page detection and population for Capital One's Eno browser extension (www.capitalone.com/applications/eno/virtualnumbers), and improving support for virtual credit card numbers inside of Capital One.
Jon is a frequent speaker at Go conferences, and his blog posts on Go and software engineering have been read by more than 150,000 people. He is the creator of the Proteus data access library (github.com/jonbodner/proteus) and co-developer of checks-out, a fork of the LGTM project (github.com/capitalone/checks-out).
Product details
- Publisher : O'Reilly Media
- Publication date : February 20, 2024
- Edition : 2nd
- Language : English
- Print length : 491 pages
- ISBN-10 : 1098139291
- ISBN-13 : 978-1098139292
- Item Weight : 1.8 pounds
- Dimensions : 7 x 0.99 x 9.19 inches
- Best Sellers Rank: #50,645 in Books (See Top 100 in Books)
- #3 in Web Services
- #9 in Cloud Computing (Books)
- #13 in Introductory & Beginning Programming
- Customer Reviews:
About the author

Discover more of the author’s books, see similar authors, read book recommendations and more.



















