E-book details

Go Recipes for Developers. Top techniques and practical solutions for real-life Go programming problems

Go Recipes for Developers. Top techniques and practical solutions for real-life Go programming problems

Burak Serdar

Ebook
With its simple syntax and sensible conventions, Go has emerged as the language of choice for developers in network programming, web services, data processing, and other settings. This practical guide helps engineers leverage Go through up-to-date recipes that solve common problems in day-to-day programming. Drawing from three decades of distributed systems engineering and technical leadership at companies like Red Hat, Burak Serdar brings battle-tested expertise in building robust, scalable applications.
He starts by covering basics of code structure, describing different approaches to organizing packages for different types of projects. You’ll discover practical solutions to engineering challenges in network programming, dealing with processes, databases, data processing pipelines, and testing. Each chapter provides working solutions and production-ready code snippets that you can seamlessly incorporate into your programs while working in sequential and concurrent settings. The solutions leverage the more recent additions to the Go language, such as generics and structured logging. Most of the examples are developed using the Go standard library without any third-party packages.
By the end of this book, you’ll have worked through a collection of proven recipes that will equip you accelerate your Go development journey.
  • 1. Project Organization
  • 2. Working with Strings
  • 3. Working with Date and Time
  • 4. Working with Arrays, Slices, and Maps
  • 5. Working with Types, Structs, and Interfaces
  • 6. Working with Generics
  • 7. Concurrency
  • 8. Errors and Panics
  • 9. The Context Package
  • 10. Working with Large Data
  • 11. Working with JSON
  • 12. Processes
  • 13. Network Programming
  • 14. Streaming Input/Output
  • 15. Databases
  • 16. Logging
  • 17. Testing, Benchmarks, and Profiling
  • Title: Go Recipes for Developers. Top techniques and practical solutions for real-life Go programming problems
  • Author: Burak Serdar
  • Original title: Go Recipes for Developers. Top techniques and practical solutions for real-life Go programming problems
  • ISBN: 9781835464786, 9781835464786
  • Date of issue: 2024-12-30
  • Format: Ebook
  • Item ID: e_44g4
  • Publisher: Packt Publishing