Effective Go Recipes

Effective Go Recipes
Author :
Publisher : Pragmatic Bookshelf
Total Pages : 365
Release :
ISBN-10 : 9798888650967
ISBN-13 :
Rating : 4/5 (67 Downloads)

Book Synopsis Effective Go Recipes by : Miki Tebeka

Download or read book Effective Go Recipes written by Miki Tebeka and published by Pragmatic Bookshelf. This book was released on 2024-04-04 with total page 365 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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. What You Need: You should know the Go language syntax and have some experience in programming.You will need a Go SDK, a Git client, and for some of the chapters, a C compiler.


Effective Go Recipes Related Books

Effective Go Recipes
Language: en
Pages: 365
Authors: Miki Tebeka
Categories: Computers
Type: BOOK - Published: 2024-04-04 - Publisher: Pragmatic Bookshelf

DOWNLOAD EBOOK

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 developme
Automate Your Home Using Go
Language: en
Pages: 209
Authors: Ricardo Gerardi
Categories: Computers
Type: BOOK - Published: 2024-08-19 - Publisher: Pragmatic Bookshelf

DOWNLOAD EBOOK

Take control of your home and your data with the power of the Go programming language. Build extraordinary and robust home automation solutions that rival much
Go Recipes
Language: en
Pages: 248
Authors: Shiju Varghese
Categories: Computers
Type: BOOK - Published: 2016-11-17 - Publisher: Apress

DOWNLOAD EBOOK

Solve your Go problems using a problem-solution approach. Each recipe is a self-contained answer to a practical programming problem in Go. Go Recipes contains r
Hands-On Dependency Injection in Go
Language: en
Pages: 338
Authors: Corey Scott
Categories: Computers
Type: BOOK - Published: 2018-11-27 - Publisher: Packt Publishing Ltd

DOWNLOAD EBOOK

Explore various dependency injection methods in Go such as monkey patching, constructor injection, and method injection Key FeaturesLearn to evaluate Code UX an
Go Standard Library Cookbook
Language: en
Pages: 330
Authors: Radomír Sohlich
Categories: Computers
Type: BOOK - Published: 2018-02-27 - Publisher: Packt Publishing Ltd

DOWNLOAD EBOOK

Implement solutions by leveraging the power of the GO standard library and reducing dependency on external crates Key Features Develop high quality, fast and po