Learning Go: An Idiomatic Approach to Real-World Go Programming

Jon Bodner

Book cover for Learning Go: An Idiomatic Approach to Real-World Go Programming
Book cover for Learning Go: An Idiomatic Approach to Real-World Go Programming

Learning Go: An Idiomatic Approach to Real-World Go Programming

Learning Go: An Idiomatic Approach to Real-World Go Programming

Jon Bodner

Member Benefits

  • 30% Off All Books - Savings that support storytellers, not stock prices.
  • Fight Book Bans - Every membership sends a book to LGBTQ+ youth in affected states.
Member Book Price
$65.99 $46.19
Non-Member Book Price $65.99

An annual membership will be billed at $48/year.

Discount applies to first-time members only. Already a member? Log in here.

View full details

Description

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

Publishing Information

Publisher: O'Reilly Media
Pub date: 2024-02-20
Length: 491 pages

The Allstora Membership

Membership Perks:

  • Save 30% on all online store purchases
  • Exclusive access to author's content
  • You pay less, but authors still earn double

Membership Terms:

First Month: $0.00
Monthly price: $5.00
  • To access membership discount simply log in and add to cart, discount applied automatically.
  • One month free trial, cancel anytime. Membership renews on the 15th of each month.