Effective Go Recipes (Pragmatic Bookshelf)

PragmaticBookshelf
Shave countless hours off development time with production-ready Go recipes. Learn language nuances while doing common (and not so common) programming tasks.

Miki Tebeka @tebeka

edited by Margaret Eldridge @Margaret

Programmers love Go because it is lightweight, easy to work with, and easy to read. Go gives you the benefits of dynamically typed languages (speed of development) while keeping the upsides of strongly typed languages (security and performance).

Go is a simple language, but programming in Go is about more than just mastering syntax. There’s an art to using Go effectively. Squeeze out the full use of advanced networking and multi-core power for which Go was designed. Save precious coding hours with recipes that help you manage objects, collect garbage, and safely use memory. Tackle Unicode, concurrency, and serialization with ease.

All the clean, reusable solutions you need for a wide variety of problems common to Go development. Outfitted with these recipes, your next apps will be more polished and more maintainable than ever.

Start out by tackling time and see how the Go time packager provides types that will do most of the heavy lifting for you. Next, work on recipes tailored to the nuances of processing text, like normalizing strings to avoid bugs. From there, whip up some functions on-the-fly and store functions in variables and data structures.

Ever wondered why Go seems to be peppered with error handling? Working through the next recipes, you’ll discover the benefits, which include more robust code. In the section on HTTP, you’ll learn tricks like running multiple HTTP servers on the same port and setting timeouts. With concurrency recipes, you’ll limit the number of goroutines to improve performance, give your code awareness of timeouts, and decide when to keep your code sequential instead of making it concurrent.

Throughout the book, you’ll make Go sizzle following simple recipes and tweaking them to fit your own apps. Using tools like strong typing and concurrency primitives, build a Go codebase that stays maintainable at scale.


Miki Tebeka has a B.Sc. in computer science from Ben Gurion University. He is the CEO
of 353solutions, where he teaches and writes code in Go, Python, and Scientific
Python. Miki has authored several books and is a LinkedIn learning author. He
also organizes and give talks at several conferences around the world.


Don’t forget you can get 35% off with your Devtalk discount! Just use the coupon code “devtalk.com" at checkout :+1:

Latest Threads About This Book Top

njan
Typo in the first para under Discussion : “The write side is sent to producer that encodes the metrics and the write side is send at th...
New
njan
How do we manage server timeouts work with websocket and sse handlers ?
New
garethnic
Title: Effective Go Recipes (page ix | 10 of 234) " To use this book, should also be familiar with working in the terminal, and know som...
New
Margaret
@tebeka from Jeff Langr, there is a typo on p. 73: “You that slice related functions,”
New
Margaret
Hi folks, This is the page for adding errata, suggestions, and questions for Effective Go Recipes by Miki Tebeka. #book-effective-go-re...
New
PragmaticBookshelf
Shave countless hours off development time with production-ready Go recipes. Learn language nuances while doing common (and not so common...
New

Most Active This Week Top

Most Active This Month Top

Most Active This Year Top

Most Active Last Three Years Top

PragmaticBookshelf
Shave countless hours off development time with production-ready Go recipes. Learn language nuances while doing common (and not so common...
New
Margaret
Hi folks, This is the page for adding errata, suggestions, and questions for Effective Go Recipes by Miki Tebeka. #book-effective-go-re...
New
Margaret
@tebeka from Jeff Langr, there is a typo on p. 73: “You that slice related functions,”
New
garethnic
Title: Effective Go Recipes (page ix | 10 of 234) " To use this book, should also be familiar with working in the terminal, and know som...
New
njan
How do we manage server timeouts work with websocket and sse handlers ?
New
njan
Typo in the first para under Discussion : “The write side is sent to producer that encodes the metrics and the write side is send at th...
New

Most Active Over Three Years Top

Get money off!

The Pragmatic Bookshelf

35% off any eBook

Simply use coupon code "devtalk.com" at checkout. See full details here.