# Awesome Go Books

[![Validate README](https://github.com/dariubs/GoBooks/actions/workflows/validate.yml/badge.svg)](https://github.com/dariubs/GoBooks/actions/workflows/validate.yml) [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)


GoBooks is a curated collection of the best Go books for developers at every level—from beginners to engineers working on concurrency, performance, and system design. One place to find the right learning resource.

**Other languages:** [Español](gobooks/README-es.md) · [中文](gobooks/README-zh.md) · [Português](gobooks/README-pt.md) · [Русский](gobooks/README-ru.md) · [Deutsch](gobooks/README-de.md) · [فارسی](gobooks/README-fa.md)

- [Most Popular Golang Books](#most-popular-go-books)
- [Starter Books](#starter-books)
- [Advanced Books](#advanced-books)
- [Web Development](#web-development) 
- [Resources](#resources)
- [Contributing](#contributing)
- [License](#license)

## Most Popular Go Books

> The most popular and highly recommended Go books based on community ratings, expert recommendations, and developer consensus across Amazon, Goodreads, and the Go community

### [The Go Programming Language](https://amzn.to/3MbHW7i)

<a href="https://amzn.to/3MbHW7i"><img src="gobooks/covers/gopl.book.png" width="120px"/></a>

*Last published*: **2015**
*Authors:* **Alan A. A. Donovan** and **Brian W. Kernighan**
*Available as*: **eBook**, **Print**

Widely considered the "Go Bible" and the definitive reference for the language, co-authored by Brian Kernighan of K&R C fame. With over 1,200 Amazon reviews and a 4.5-star rating, it appears on virtually every "best Go books" list. It covers syntax, data structures, concurrency, and best practices with hundreds of practical examples.

-----

### [Boring Go](https://golang.college/books/boring-go)

*Last published*: **2026**
*Authors:* **Dariush Abbasi**, **Hassan Aminfar**

<a href="https://golang.college/books/boring-go"><img src="gobooks/covers/boring-go.png" width="120px"/></a>

*Boring Go* is a practical guide to writing Go the way it works best in real projects—simple, explicit, and a little boring (in the good way). It champions clarity over novelty, readability over magic, and shows why boring code is often the most reliable, maintainable, and scalable choice.

-----

### [Learning Go: An Idiomatic Approach to Real-World Go Programming, 2nd Edition](https://amzn.to/4ceJWWQ)

<a href="https://amzn.to/4ceJWWQ"><img src="gobooks/covers/learning-go.jpg" width="120px"/></a>

*Last published*: **2024**
*Authors:* **Jon Bodner**

One of the most recommended modern Go books, praised by experts at Datadog and across the Go community. It teaches you to think like a Go developer by focusing on idiomatic patterns, design decisions, and generics. Consistently ranked at the top of best-of lists by BookAuthority, MentorCruise, GeeksforGeeks, and ReactDOM.

-----

### [100 Go Mistakes and How to Avoid Them](https://amzn.to/4p8eldS)

<a href="https://amzn.to/4p8eldS"><img src="gobooks/covers/100-go-mistakes-and-how-to-avoid-them.png" width="120px"/></a>

*Last published*: **2022**
*Authors:* **Teiva Harsanyi**

A community favorite for intermediate-to-advanced developers, frequently recommended on Reddit, Hacker News, and in Go learning paths like TutorialEdge. It provides a unique angle on Go mastery by highlighting common pitfalls in concurrency, testing, data structures, and more.

-----

### [Learn Go With Tests](https://quii.gitbook.io/learn-go-with-tests/) *Free*

<a href="https://quii.gitbook.io/learn-go-with-tests/"><img src="gobooks/covers/learn-go-with-tests.png" width="120px"/></a>

*Last published*: **2025**
*Authors:* **Chris James**
*Avaible For Free* : **[Source Code](https://github.com/quii/learn-go-with-tests)**

One of the most popular free Go resources with over 22,000 GitHub stars. Its test-driven approach to learning Go has made it a go-to recommendation across the community. Frequently cited alongside paid books as essential reading for anyone learning Go.

-----

### [Writing An Interpreter In Go](https://amzn.to/45PIyGq)

<a href="https://amzn.to/45PIyGq"><img src="gobooks/covers/writing-an-interpreter-in-go.png" width="120px"/></a>

*Last published*: **2020**
*Authors:* **Thorsten Ball**

A cult classic with an enthusiastic following on Goodreads (4.5+ stars) and Hacker News. By guiding you through building a complete programming language interpreter from scratch, it teaches both Go and computer science fundamentals in a uniquely hands-on way.

-----

### [Let's Go!](https://lets-go.alexedwards.net/)

<a href="https://lets-go.alexedwards.net/"><img src="gobooks/covers/lets-go.png" width="120px"/></a>

*Last published*: **2023**
*Authors:* **Alex Edwards**

The most recommended book for Go web development, praised for its step-by-step, real-world approach to building secure and maintainable web applications. Frequently paired with its sequel *Let's Go Further* as the definitive Go web development learning path.

-----

### [Head First Go](https://amzn.to/4r1FJdA)

<a href="https://amzn.to/4r1FJdA"><img src="gobooks/covers/head-first-go.jpg" width="120px"/></a>

*Last published*: **2019**
*Authors:* **Jay McGavren**

A top pick on GeeksforGeeks and other beginner lists, leveraging the popular Head First visual learning format. Its intuitive graphical representations and humorous examples make it one of the most accessible entry points to Go for newcomers to programming.

-----

### [Black Hat Go](https://amzn.to/4tlEqaX)

[<img src="gobooks/covers/black-hat-go.jpg" width="120px"/>](https://amzn.to/4tlEqaX)

*Last published*: **2020**
*Authors:* **Tom Steele, Chris Patten, Dan Kottmann**

A highly popular niche book that combines Go with security and penetration testing. Widely recommended by both the Go and cybersecurity communities, it fills a unique gap by teaching offensive security tooling using Go's speed and concurrency strengths.

-----

### [Efficient Go: Data-Driven Performance Optimization](https://amzn.to/4ycxS0Q)

<a href="https://amzn.to/4ycxS0Q"><img src="gobooks/covers/efficient-go.jpg" width="120px"/></a>

*Last published*: **2022**
*Authors:* **Bartlomiej Płotka, Frederic Branczyk**

A highly regarded guide to Go performance, recommended by experts and frequently appearing on advanced Go reading lists. Written by engineers from the Prometheus and Thanos projects, it provides the tools and knowledge to make Go applications faster using fewer resources.

-----

### [Let's Go Further](https://lets-go-further.alexedwards.net/)

<a href="https://lets-go-further.alexedwards.net/"><img src="gobooks/covers/lets-go-further.png" width="120px"/></a>

*Last published*: **2023**
*Authors:* **Alex Edwards**

The highly popular sequel to *Let's Go!*, focusing on advanced API and web application patterns. Together with its predecessor, it forms the most recommended web development learning path in the Go community, covering everything from REST APIs to deployment.

-----

## Starter Books

> Here are the top recommended books for absolute beginners—those with little or no programming experience—who want to learn Go from the very start


### [Boring Go](https://golang.college/books/boring-go)

*Last published*: **2026**
*Authors:* **Dariush Abbasi**, **Hassan Aminfar**

<a href="https://golang.college/books/boring-go"><img src="gobooks/covers/boring-go.png" width="120px"/></a>

*Boring Go* is a practical guide to writing Go the way it works best in real projects—simple, explicit, and a little boring (in the good way). It champions clarity over novelty, readability over magic, and shows why boring code is often the most reliable, maintainable, and scalable choice.

-----

### [Learn Go With Tests](https://quii.gitbook.io/learn-go-with-tests/)

*Last published*: **2025**
*Authors:* **Chris James**
*Avaible For Free* : **[Source Code](https://github.com/quii/learn-go-with-tests)**

<a href="https://quii.gitbook.io/learn-go-with-tests/"><img src="gobooks/covers/learn-go-with-tests.png" width="120px"/></a>

Learn Go guided by tests. Write a test, learn a new Go language feature to make it pass, refactor and repeat. You'll get a grounding in test-driven development and importantly understand the principles behind it.

-----

### [Learn Go with Pocket-Sized Projects](https://amzn.to/4cliBlM)

*Last published*: **2025**
*Authors:* **Aliénor Latour**, **Donia Chaiehloudj**, and **Pascal Bertrand**

<a href="https://amzn.to/4cliBlM"><img src="gobooks/covers/learn-go-with-pocket-sized-projects.jpg" width="120px"/></a>

Learn Go with Pocket-Sized Projects teaches you to write professional-level Go code by creating handy tools and fun apps. Each small, self-contained project introduces important practical skills, including ensuring that your code is thoroughly tested and documented! You'll make architectural decisions for your projects and organize your code in a maintainable way. Everything you learn is easy to scale-up to full-size Go applications.

-----

### [The Deeper Love of Go](https://bitfieldconsulting.com/books/deeper)

*Last published*: **2025**
*Authors:* **John Arundel**

<a href="https://bitfieldconsulting.com/books/deeper"><img src="https://github.com/bitfield/love/blob/main/cover_small.png" width="120px"/></a>

Introduces the Go programming language for complete beginners, as well as those with experience programming in other languages.

-----

### [Learning Go: An Idiomatic Approach to Real-World Go Programming, 2nd Edition](https://amzn.to/4ceJWWQ)

*Last published*: **2024**
*Authors:* **Jon Bodner**

<a href="https://amzn.to/4ceJWWQ"><img src="gobooks/covers/learning-go.jpg" width="120px"/></a>

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

-----

### [Go Programming - From Beginner to Professional, 2nd Edition](https://amzn.to/4agrPgG)

*Last published*: **2024**
*Authors:* **Samantha Coyle**

<a href="https://amzn.to/4agrPgG"><img src="gobooks/covers/go-programming-from-beginner-to-professional.jpg" width="120px"/></a>

Go Programming – From Beginner to Professional is a comprehensive guide that takes your proficiency in the Go programming language from novice to expert. Starting with fundamental concepts, this book covers variables, command-line tools, and working with data before delving into advanced concepts, including error handling, interfaces, and generics, harnessing Go's latest features through hands-on exercises. Along the way, you'll learn to structure projects using Go modules, manage packages effectively, and master debugging techniques. As you progress, you'll get to grips with practical application-centric aspects such as command-line programming, file manipulation, and working with SQL databases. Additionally, the book explores web server development, RESTful APIs, and utilizing the Go HTTP client to interact with web applications. Further enhancing your Go skills, you'll learn concurrent programming, testing methodologies, Go tools, and how to deploy applications in the cloud. Throughout the book, you'll uncover Go's hidden gems and gain insights into time manipulation, best practices, and more. By the end of this book, you'll have worked through practical exercises and activities that'll equip you with the knowledge and skills needed to excel as a proficient Go developer, primed for success in real-world projects.

What you will learn
- Understand the Go syntax and apply it proficiently to handle data and write functions
- Debug your Go code to troubleshoot development problems
- Safely handle errors and recover from panics
- Implement polymorphism using interfaces and gain insight into generics
- Work with files and connect to popular external databases
- Create an HTTP client and server and work with a RESTful web API
- Use concurrency to design efficient software
- Use Go tools to simplify development and improve your code

-----

### [Go 101](https://go101.org/article/101.html)

*Last published*: **2023**
*Authors:* **Tapir Liu**
*Avaible For Free* : **[Read Online](https://go101.org/article/101.html)**


<a href="https://go101.org/article/101.html"><img src="gobooks/covers/go-101.jpg" width="120px"/></a>

Go 101 is a book focusing on Go syntax/semantics and all kinds of runtime related things (Go 1.17-pre ready) and tries to help gophers gain a deep and thorough understanding of Go. This book also collects many details of Go and in Go programming. It is expected that this book is helpful for both beginner and experienced Go programmers.

-----

### [gRPC Go for Professionals](https://amzn.to/46oiZfC)

*Last published*: **2023**
*Authors:* **Clement Jean**

<a href="https://amzn.to/46oiZfC"><img src="gobooks/covers/grpc-go-for-professionals.jpg" width="120px"/></a>


In recent years, Microservice architecture has been gaining popularity. With that rise, comes a different set of requirements than we had previously. The most important one is efficient communication between the different services. That's where gRPC comes in. So naturally, this book will show you how to create gRPC servers and clients in an efficient, secure, and scalable way. But, on top of that, because Microservices are not only about communication, this book intends to show you how to deploy your application on Kubernetes and configure other tools that are needed for making your application more resilient. In that way, this book will give you all the tools that you need to start right away with gRPC in a Microservice architecture.

In gRPC Go for Professionals, you'll begin by learning the core concepts such as how the framework sends messages over the network and why it uses Protobuf for serialization and deserialization. After that, we will implement a TODO list API step by step to see the different features of gRPC. Then we are going to see how to test your services in different ways. We will see how to debug your API endpoints. And finally, we will see how to deploy the application's services by creating Docker images and using Kubernetes.

-----

### [Go Faster](https://leanpub.com/gofaster)

*Last published*: **2023**
*Authors:* **Ollie Phillips**


<a href="https://leanpub.com/gofaster"><img src="gobooks/covers/go-faster.png" alt="Picture of book cover for Go Faster" width="120px"/></a>

Some say Go is a simple language and with only 25 keywords it surely is. But, to work with Go effectively requires proficiency and understanding beyond simple syntax alone. It can take developers months or even years to acquire this experience, but this book sets out to short-circuit that process and get you there faster!

With my book, Go Faster, you can shorten your learning curve and become a proficient Go programmer, going from beginner to expert in no time. Learn Go faster and join the thriving community of skilled Go developers!

-----

### [Shipping Go](https://amzn.to/4ra6o8q)

*Last published*: **2023**
*Authors:* **Joel Holmes**


<a href="https://amzn.to/4ra6o8q"><img src="gobooks/covers/shipping-go.jpg" alt="Picture of book cover for Shipping Go" width="120px"/></a>

You know how to build Go programs—now learn how to ship them to your customers efficiently! This practical guide to continuous delivery shows you how to rapidly establish an automated pipeline that will improve your testing, code quality, and final product.

In Shipping Go you will learn how to:
 - Develop better software based on feedback from customers
 - Create a development pipeline that turns feedback into features
 - Reduce bugs with pipeline automation that validates code before it is deployed
 - Establish continuous testing for exceptional code quality
 - Serverless, container based, and server based deployments
 - Scale your deployment in a cost-effective way
 - Deliver a culture of continuous improvement

 -----

### [gRPC Microservices in Go](https://amzn.to/4rzgHSW)

*Last published*: **2023**
*Authors:* **Hüseyin Babal**

<a href="https://amzn.to/4rzgHSW"><img src="gobooks/covers/grpc-microservices-in-go.jpg" width="120px"/></a>

For the last decade, we have heard stories about Monolith to Microservice transitions and we might think that this transition solves the majority of the problems in the organizations. However, it might end up with mess if you are not aware about best practices of this transition, since Microservice Architecture comes with its challenges. In this book, we start covering production grade best practices of Microservices Architecture and explain when to use it. Then we talk about microservice communication patterns where gRPC comes to the stage. You will see complete examples written in Go with Hexagonal Architecture applied to project structure. You will not only learn how to implement microservices, you will see how to write tests, maintain quality with proper CI, deploy to Kubernetes environment and finally set up an observable system to have better monitoring for your application.

-----

### [Go for Javascript Developers](https://www.pazams.com/Go-for-Javascript-Developers/)

*Last published*: **2022**
*Authors:* **Maor Zamski** and **Daniel Singer**
*Avaible For Free* : **[Source Code](https://github.com/pazams/go-for-javascript-developers)**

<a href="https://www.pazams.com/Go-for-Javascript-Developers/"><img src="gobooks/covers/go-for-javascript-developers.png" width="120px"/></a>

This book helps Javascripters become Gophers. Outlining the differences between these languages makes it easier to switch back and forth, and can help mitigate potential issues when doing so.

-----

### [Go, from the beginning](https://leanpub.com/go-from-the-beginning) *Free*

*Last published*: **2022**
*Authors:* **Chris Noring**

<a href="https://leanpub.com/go-from-the-beginning"><img src="gobooks/covers/go-from-the-beginning.png" width="120px"/></a>

In this book you will learn the following:

- Build Console apps
- Create Web APIs
- Test your code
- Create and publish reusable packages that others can consume
- Organize your files in a project
- Work with files and directories
- Parse text with the string library and regular expressions.

-----

### [Practical Go Lessons](https://www.practical-go-lessons.com/)

*Last published*: **2022**
*Authors:* **Maximilien Andile**
*Avaible For Free* : **[Read Online](https://www.practical-go-lessons.com)**


<a href="https://www.practical-go-lessons.com/"><img src="gobooks/covers/practical-go-lessons.png" width="120px"/></a>

Practical Go Lessons has 41 chapters and more than 700 pages with illustrations.
It is suitable for anybody how wants to start programming with the Go language.
It assumes no prior knowledge.
Each chapter contains test questions with detailed answers.
The HTML version is free. You can support the author by buying the PDF or Paper version.

-----

### [Pro Go](https://amzn.to/4rDm43L)

*Last published*: **2022**
*Authors:* **Adam Freeman**

<a href="https://amzn.to/4rDm43L"><img src="gobooks/covers/pro-go.jpeg" width="120px"/></a>

Starting from the basics and building up to the most advanced and sophisticated features. You will learn how Go builds on a simple and consistent type system to create a comprehensive and productive development experience that produces fast and robust applications that run across platforms.

- Gain a solid understanding of the Go language and tools
- Gain in-depth knowledge of the Go standard library
- Use Go for concurrent/parallel tasks
- Use Go for client- and server-side development

-----

### [Go for DevOps](https://amzn.to/3LZBwrT)

*Last published*: **2022**
*Authors:* **John Doak**, **David Justice**

<a href="https://amzn.to/3LZBwrT"><img src="gobooks/covers/go-for-devops.jpg" width="120px"/></a>

Go is the go-to language for DevOps libraries and services, and without it, achieving fast and safe automation is a challenge. With the help of Go for DevOps, you'll learn how to deliver services with ease and safety, becoming a better DevOps engineer in the process.

Some of the key things this book will teach you are how to write Go software to automate configuration management, update remote machines, author custom automation in GitHub Actions, and interact with Kubernetes. As you advance through the chapters, you'll explore how to automate the cloud using software development kits (SDKs), extend HashiCorp's Terraform and Packer using Go, develop your own DevOps services with gRPC and REST, design system agents, and build robust workflow systems.

By the end of this Go for DevOps book, you'll understand how to apply development principles to automate operations and provide operational insights using Go, which will allow you to react quickly to resolve system failures before your customers realize something has gone wrong.

-----

### [How to Code in Go](https://www.digitalocean.com/community/books/how-to-code-in-go-ebook)

*Last published*: **2020**
*Authors:* **Mark Bates**, **Cory LaNou** and **Tim Raymond**
*Avaible For Free* : **[epub](https://assets.digitalocean.com/books/how-to-code-in-go.epub)**, **[pdf](https://assets.digitalocean.com/books/how-to-code-in-go.pdf)**


This book is designed to introduce you to writing programs with the Go programming language. You'll learn how to write useful tools and applications that can run on remote servers, or local Windows, macOS, and Linux systems for development.

-----

### [API Foundations in Go](https://amzn.to/4tkfSPE)

*Last published*: **2019**
*Authors:* **Tit Petric**

<a href="https://amzn.to/4tkfSPE"><img src="gobooks/covers/api-foundations-in-go.jpeg" width="120px"/></a>

With this book you'll learn to use Go, taking advantage of it's multi-threaded nature, and typed syntax. Starting your API implementation in Go is your first step towards what a rock solid API should be.

-----

### [The Go Workshop](https://amzn.to/3MrFZUk)

*Last published*: **2019**
*Authors:* **Delio D'Anna**, **Andrew Hayes**, **Sam Hennessy**, **Jeremy Leasor**, **Gobin Sougrakpam**, and **Dániel Szabó**

<a href="https://amzn.to/3MrFZUk"><img src="gobooks/covers/the-go-workshop.avif" width="120px"/></a>

The Go Workshop will take the pain out of learning the Go programming language (also known as Golang). It is designed to teach you to be productive in building real-world software. Presented in an engaging, hands-on way, this book focuses on the features of Go that are used by professionals in their everyday work.

-----

### [Head First Go](https://amzn.to/4r1FJdA)

*Last published*: **2019**
*Authors:* **Jay McGavren**

<a href="https://amzn.to/4r1FJdA"><img src="gobooks/covers/head-first-go.jpg" width="120px"/></a>

Go makes it easy to build software that's simple, reliable, and efficient. Andthis book makes it easy for programmers like you to get started. Google designed Go for high-performance networking and multiprocessing, but—like Python and JavaScript—the language is easy to read and use. With this practical hands-on guide, you'll learn how to write Go code using clear examples that demonstrate the language in action. Best of all, you'll understand the conventions and techniques that employers want entry-level Go developers to know.

-----

### [Learning Go](https://www.miek.nl/go)

*Last published*: **2018**
*Authors:* **Miek Gieben**
*Avaible For Free* : **[Source Code](https://github.com/miekg/learninggo)**


A online book to start learning Golang. It features numerous exercises (and answers).

-----

### [Get Programming with Go](https://amzn.to/4ts8ylm)

*Last published*: **2018**
*Authors:* **Nathan Youngman** and **Roger Peppé**

<a href="https://amzn.to/4ts8ylm"><img src="gobooks/covers/get-programming-with-go.png" width="120px"/></a>

*Get Programming with Go* introduces you to the powerful Go language without confusing jargon or high-level theory. By working through 32 quick-fire lessons, you'll quickly pick up the basics of the innovative Go programming language!

-----

### [The Go Programming Language](https://amzn.to/3MbHW7i) 

<a href="https://amzn.to/3MbHW7i"><img src="gobooks/covers/gopl.book.png" width="120px"/></a>

*Last published*: **2015**
*Authors:* **Alan A. A. Donovan** and **Brian W. Kernighan**
*Available as*: **eBook**, **Print**


Widely regarded as the definitive guide to Go programming, this book offers an in-depth exploration of the language's syntax, data structures, and unique features such as goroutines and channels. Key topics include concurrency, error handling, and best practices in software engineering. Whether you're a developer transitioning from another language or someone seeking to deepen your Go knowledge, this book is an invaluable resource for mastering both foundational and advanced concepts.

-----


## Advanced Books

### [Go at Scale: Patterns for Professional Development](https://amzn.to/4wDN5Xn)

<a href="https://amzn.to/4wDN5Xn"><img src="gobooks/covers/go-at-scale.jpg" width="120px"/></a>

*Last published*: **2025**
*Authors:* ****

Go at Scale is your comprehensive guide to writing scalable, maintainable, and efficient Go code. Moving beyond the basics, this book dives deep into advanced patterns and practices used in real-world applications.

-----

### [The Power of Go: Tools](https://bitfieldconsulting.com/books/tools)

<a href="https://bitfieldconsulting.com/books/tools"><img src="gobooks/covers/the-power-of-go-tools.png" width="120px"/></a>

*Last published*: **2024**
*Authors:* **John Arundel**

Go is a popular choice for writing DevOps and systems programs, and command-line tools in particular. How can we write simple, powerful, idiomatic, and even beautiful tools in Go? This book covers all the necessary techniques: functional options, flags and arguments, files and filesystems, executing commands, writing shells and pipelines, JSON and YAML wrangling, and even sophisticated API clients.

Even more importantly, the book teaches you how to _think_ like a master software engineer: how to break down problems into manageable chunks, how to test functions before they're written, and how to design Go CLIs that delight users.

-----

### [Build an Orchestrator in Go](https://amzn.to/4bjptyT)

<a href="https://amzn.to/4bjptyT"><img src="gobooks/covers/build-an-orchestrator-in-go.png" width="120px"/></a>

*Last published*: **2024**
*Authors:* **Tim Boring**

Understand Kubernetes and other orchestration systems deeply by building your own using Go and the Docker API.

Orchestration systems like Kubernetes coordinate other software subsystems and services to create a complete organized system. Although orchestration tools have a reputation for complexity, they're designed around few important patterns that apply across many aspects of software development. Build an Orchestrator in Go reveals the inner workings of orchestration frameworks by guiding you as you design and implement your own using the Go SDK. As you create your own orchestration framework, you'll improve your understanding of Kubernetes and its role in distributed system design. You'll also build the skills required to design custom orchestration solutions for those times when an out-of-the-box solution isn't a good fit.

-----

### [Explore Go: Cryptography](https://bitfieldconsulting.com/books/crypto)

<a href="https://bitfieldconsulting.com/books/crypto"><img src="gobooks/covers/explore-go-cryptography.png" width="120px"/></a>

*Last published*: **2024**
*Authors:* **John Arundel**

Much of the modern world is built on cryptography, and this book introduces readers to the fundamental principles of ciphers, keys, and hashing. It traces the development of increasingly sophisticated cryptographic schemes from the Caesar cipher to SHA-256 and AES-GCM, including dozens of example Go programs and coding challenges. The book concludes with a review of best practices for handling encryption and authentication in Go applications.

-----

### [Practical guide for building a blockchain from scratch in Go with gRPC](https://github.com/volodymyrprokopyuk/go-blockchain) *Free*

*Last published*: **2024**
*Authors:* ****

A foundational and practical guide for effectively learning the fundamental blockchain concepts and
progressively building a blockchain from scratch in Go with gRPC. An interesting and challenging
adventure that takes you from the foundational concepts and purpose through the technical design and
implementation to the practical testing and usage of the proposed blockchain. Simple, yet non-trivial. Concise, yet detailed. Practical, yet well-grounded.

-----

### [Go programming language secure coding practices guide](https://checkmarx.gitbooks.io/go-scp/) *Free*

*Last published*: **2023**
*Authors:* ****

The main goal of this book is to help developers avoid common mistakes while at the same time, learning a new programming language through a "hands-on approach". This book provides a good level of detail on "how to do it securely" showing what kind of security problems could arise during development.

-----

### [Network Automation with Go](https://amzn.to/4pd0mDM)

<a href="https://amzn.to/4pd0mDM"><img src="gobooks/covers/network-automation-with-go.jpg" width="120px"/></a>

*Last published*: **2023**
*Authors:* ****

Go's built-in first-class concurrency mechanisms make it an ideal choice for long-lived low-bandwidth I/O operations, which are typical requirements of network automation and network operations applications. This book provides a quick overview of Go and hands-on examples within it to help you become proficient with Go for network automation. It's a practical guide that will teach you how to automate common network operations and build systems using Go. The first part takes you through a general overview, use cases, strengths, and inherent weaknesses of Go to prepare you for a deeper dive into network automation. You'll explore the common network automation areas and challenges, what language features you can use in each of those areas, and the common software tools and packages. To help deepen your understanding, you'll also work through real-world network automation problems and apply hands-on solutions to them. By the end of this book, you'll be well-versed with Go and have a solid grasp on network automation.

-----

### [Microservices with Go](https://amzn.to/4f6I2aH)
<a href="https://amzn.to/4f6I2aH"><img src="gobooks/covers/microservices-with-go.jpg" width="120px"/></a>

*Last published*: **2022**
*Authors:* ****

This book covers the key benefits and common issues of microservices, helping you understand the problems microservice architecture helps to solve, the issues it usually introduces, and the ways to tackle them.

You'll start by learning about the importance of using the right principles and standards in order to achieve the key benefits of microservice architecture. The following chapters will explain why the Go programming language is one of the most popular languages for microservice development and lay down the foundations for the next chapters of the book. You'll explore the foundational aspects of Go microservice development including service scaffolding, service discovery, data serialization, synchronous and asynchronous communication, deployment, and testing. After covering the development aspects, you'll progress to maintenance and reliability topics. The last part focuses on more advanced topics of Go microservice development including system reliability, observability, maintainability, and scalability. In this part, you'll dive into the best practices and examples which illustrate how to apply the key ideas to existing applications, using the services scaffolded in the previous part as examples.

By the end of this book, you'll have gained hands-on experience with everything you need to develop scalable, reliable and performant microservices using Go.

-----

### [Event-Driven Architecture in Golang](https://amzn.to/4h4aVqw)

<a href="https://amzn.to/4h4aVqw"><img src="gobooks/covers/event-driven-architecture-in-golang.jpg" width="120px"/></a>

*Last published*: **2022**
*Authors:* ****

Event-driven architecture in Golang is an approach used to develop applications that shares state changes asynchronously, internally, and externally using messages. EDA applications are better suited at handling situations that need to scale up quickly and the chances of individual component failures are less likely to bring your system crashing down. This is why EDA is a great thing to learn and this book is designed to get you started with the help of step-by-step explanations of essential concepts, practical examples, and more.

You'll begin building event-driven microservices, including patterns to handle data consistency and resiliency. Not only will you learn the patterns behind event-driven microservices but also how to communicate using asynchronous messaging with event streams. You'll then build an application made of several microservices that communicates using both choreographed and orchestrated messaging.

By the end of this book, you'll be able to build and deploy your own event-driven microservices using asynchronous communication.

-----

### [Efficient Go: Data-Driven Performance Optimization](https://amzn.to/4ycxS0Q)

<a href="https://amzn.to/4ycxS0Q"><img src="gobooks/covers/efficient-go.jpg" width="120px"/></a>

*Last published*: **2022**
*Authors:* **Bartlomiej Płotka, Frederic Branczyk**

Software engineers today typically put performance optimizations low on the list of development priorities. But despite significant technological advancements and lower-priced hardware, software efficiency still matters. With this book, Go programmers will learn how to approach performance topics for applications written in this open source language.

How and when should you apply performance efficiency optimization without wasting your time? Authors Bartlomiej Plotka and Frederic Branczyk provide the tools and knowledge you need to make your system faster using fewer resources. Once you learn how to address performance in your Go applications, you'll be able to bring small but effective habits to your programming and development cycle.

-----

### [100 Go Mistakes and How to Avoid Them](https://amzn.to/4p8eldS)

<a href="https://amzn.to/4p8eldS"><img src="gobooks/covers/100-go-mistakes-and-how-to-avoid-them.png" width="120px"/></a>

*Last published*: **2022**
*Authors:* **Teiva Harsanyi**

100 Go Mistakes and How to Avoid Them puts a spotlight on common errors in Go code you might not even know you're making. You'll explore key areas of the language such as concurrency, testing, data structures, and more—and learn how to avoid and fix mistakes in your own projects.

-----

### [Know Go: Generics](https://bitfieldconsulting.com/books/generics)

<a href="https://bitfieldconsulting.com/books/generics"><img src="gobooks/covers/know-go-generics.png" width="120px"/></a>

*Last published*: **2022**
*Authors:* **John Arundel**

Go's 2022 introduction of generics opens up a whole new world of programming in Go. This book explains everything you need to know to start writing generic functions and types, including type parameters, constraints, and the accompanying changes to the standard library. It also offers some advice on how (and whether) you should transition your existing projects to using the new generics features.

-----

### [The Power of Go: Tests](https://bitfieldconsulting.com/books/tests)

<a href="https://bitfieldconsulting.com/books/tests"><img src="gobooks/covers/the-power-of-go-tests.png" width="120px"/></a>

*Last published*: **2022**
*Authors:* **John Arundel**

Go's built-in support for testing puts tests front and centre of any software project, from command-line tools to sophisticated backend servers and APIs. This book will introduce you to all Go's testing facilities, show you how to use them to write tests for the trickiest things, and distils the collected wisdom of the Go community on best practices for testing Go programs. Crammed with hundreds of code examples, the book uses real tests and real problems to show you exactly what to do, step by step.

-----

### [Beyond Effective Go: Part 1 - Achieving High-Performance Code](https://amzn.to/4y3Un8a)

<a href="https://amzn.to/4y3Un8a"><img src="gobooks/covers/beyond-effective-go.jpg" width="120px"/></a>

*Last published*: **2022**
*Authors:* **Corey Scott**

Are you an experienced Go developer that wants to be more productive? Do you want to write cleaner, faster, and easier to maintain code?
Then the Beyond Effective Go book series is for you. This series is aimed at competent Gophers. It does not mess around with the basics but instead dives right into the daily problems that professional programmers face. Chiefly, how to write fast, robust applications and services that can be maintained and extended as requirements change.

This book, Part 1 of the series, focuses on achieving high-performance code. You will learn which aspects of your application or code to focus on and when. You will have a suite of tools, software patterns, and recipes at your disposal to make your life easier. After reading, you will:

- Understand the differences between Concurrency and Parallelism.
- Identify and avoid concurrency issues like deadlock, starvation, livelock, and data races.
- Understand the various concurrency interaction patterns and be able to apply the one that best fits the problem at hand.
- Take a deep dive into Go's concurrency primitives and be able to apply them expertly but also avoid many of their gotchas.
- Be able to diagnose concurrency and performance issues using Go's profiler, execution tracing, and benchmarking tools.
- Be able to identify when code needs optimizing, what needs optimizing and how.
- Have a catalog of concurrency and performance patterns that you can quickly apply to your projects.

-----

### [Domain-Driven Design with Golang](https://amzn.to/4p9m5fI)

<a href="https://amzn.to/4p9m5fI"><img src="gobooks/covers/domain-driven-design-with-golang.jpg" width="120px"/></a>

*Last published*: **2022**
*Authors:* ****

Use Golang to create simple, maintainable systems to solve complex business problems.

Domain-driven design (DDD) is one of the most sought-after skills in the industry. This book provides you with step-by-step explanations of essential concepts and practical examples that will see you introducing DDD in your Go projects in no time. Domain-Driven Design with Golang starts by helping you gain a basic understanding of DDD, and then covers all the important patterns, such as bounded context, ubiquitous language, and aggregates. The latter half of the book deals with the real-world implementation of DDD patterns and teaches you how to build two systems while applying DDD principles, which will be a valuable addition to your portfolio. Finally, you'll find out how to build a microservice, along with learning how DDD-based microservices can be part of a greater distributed system. Although the focus of this book is Golang, by the end of this book you'll be able to confidently use DDD patterns outside of Go and apply them to other languages and even distributed systems.

-----

### [Building Distributed Applications in Gin](https://amzn.to/4bA5Fr4)

<a href="https://amzn.to/4bA5Fr4"><img src="gobooks/covers/building-distributed-applications-in-gin.jpg" width="120px"/></a>

*Last published*: **2021**
*Authors:* ****

Gin is a high-performance HTTP web framework used to build web applications and microservices in Go. This book is designed to teach you the ins and outs of the Gin framework with the help of practical examples.

You'll start by exploring the basics of the Gin framework, before progressing to build a real-world RESTful API. Along the way, you'll learn how to write custom middleware and understand the routing mechanism, as well as how to bind user data and validate incoming HTTP requests. The book also demonstrates how to store and retrieve data at scale with a NoSQL database such as MongoDB, and how to implement a caching layer with Redis. Next, you'll understand how to secure and test your API endpoints with authentication protocols such as OAuth 2 and JWT. Later chapters will guide you through rendering HTML templates on the server-side and building a frontend application with the React web framework to consume API responses. Finally, you'll deploy your application on Amazon Web Services (AWS) and learn how to automate the deployment process with a continuous integration and continuous delivery (CI/CD) pipeline.

By the end of this Gin book, you will be able to design, build, and deploy a production-ready distributed application from scratch using the Gin framework.

-----

### [Network Programming with Go](https://amzn.to/4aLciqi)

<a href="https://amzn.to/4aLciqi"><img src="gobooks/covers/network-programming-with-go.jpg" width="120px"/></a>

*Last published*: **2021**
*Authors:* **Adam Woodbeck**

Network Programming with Go will help you leverage Go to write secure, readable, production-ready network code. Network Programming with Go is all you'll need to take advantage of Go's built-in concurrency, rapid compiling, and rich standard library.

-----

### [Powerful Command-Line Applications in Go](https://amzn.to/4wtnWOP)

<a href="https://amzn.to/4wtnWOP"><img src="gobooks/covers/powerful-command-line-applications-in-go.jpg" width="120px"/></a>

*Last published*: **2021**
*Authors:* **Ricardo Gerardi**

Write your own fast, reliable, and cross-platform command-line tools with the Go programming language. Go might be the fastest—and perhaps the most fun—way to automate tasks, analyze data, parse logs, talk to network services, or address other systems requirements. Create all kinds of command-line tools that work with files, connect to services, and manage external processes, all while using tests and benchmarks to ensure your programs are fast and correct.

-----

### [Go by Example](https://amzn.to/4vhHQLF)

<a href="https://amzn.to/4vhHQLF"><img src="gobooks/covers/go-by-example.png" width="120px"/></a>

*Last published*: **2021**
*Authors:* **İlker Baltacı**

Go by Example is a practical guide to writing high-quality code that's easy to test and maintain. The book is full of best practices to adopt and anti-patterns to dodge. It explores what makes Go so dramatically different from other languages, and how you can still leverage your existing skills into writing excellent Go code. Aimed at Go beginners looking to graduate to serious Go development, you'll write and test command line applications, web API clients and servers, concurrent programs, and more.

-----

### [Cloud Native Go - Building Reliable Services in Unreliable Environments](https://amzn.to/3SV0g7A)

<a href="https://amzn.to/3SV0g7A"><img src="gobooks/covers/cloud-native-go.jpg" width="120px"/></a>

*Last published*: **2021**
*Authors:* **Kevin Hoffman, Dan Nemeth**

What do Docker, Kubernetes, and Prometheus have in common? All of these cloud native technologies are written in the Go programming language.
This practical book shows you how to use Go's strengths to develop cloud native services that are scalable and resilient, even in an unpredictable environment.
You'll explore the composition and construction of these applications, from lower-level features of Go to mid-level design patterns to high-level architectural considerations.

-----

### [Everyday Go](https://openfaas.gumroad.com/l/everyday-golang)

<a href="https://openfaas.gumroad.com/l/everyday-golang"><img src="gobooks/covers/everyday-go.jpg" width="120px"/></a>

*Last published*: **2021**
*Authors:* **Alex Ellis**

This book is a compilation of practical examples, lessons and techniques for Go developers. The topics cover the software lifecycle from learning the fundamentals, to software testing, to distribution and monitoring.

- Learn unit testing
- Make lovely CLIs
- Monitor services
- Release with GitHub Actions
- Ship it with Docker
- Work out Goroutines

-----

### [Practical Go: Building Scalable Network and Non-Network Applications](https://amzn.to/4vl3sXG)

<a href="https://amzn.to/4vl3sXG"><img src="gobooks/covers/practical-go-building-scalable-network.jpg" width="120px"/></a>

*Last published*: **2021**
*Authors:* **Amit Saha**

In Practical Go - Building Scalable Network + Non-Network Applications, you will learn to use the Go programming language to build robust, production-ready software applications. You will learn just enough to building command line tools and applications communicating over HTTP and gRPC.

This practical guide will cover:

 - Writing command line applications
 - Writing a HTTP services and clients
 - Writing RPC services and clients using gRPC
 - Writing middleware for network clients and servers
 - Storing data in cloud object stores and SQL databases
 - Testing your applications using idiomatic techniques
 - Adding observability to your applications
 - Managing configuration data from your applications

You will learn to implement best practices using hands-on examples written with modern practices in mind. With its focus on using
the standard library packages as far as possible, Practical Go will give you a solid foundation for developing large applications
using Go leveraging the best of the language's ecosystem.

-----

### [Black Hat Go](https://amzn.to/4tlEqaX)

[<img src="gobooks/covers/black-hat-go.jpg" width="120px"/>](https://amzn.to/4tlEqaX)

*Last published*: **2020**
*Authors:* **Tom Steele, Chris Patten, Dan Kottmann**

In Black Hat Go, you'll learn how to write powerful and effective penetration testing tools in Go, a language revered for its speed and scalability. Start off with an introduction to Go fundamentals like data types, control structures, and error handling; then, dive into the deep end of Go's offensive capabilities.

-----

### [Writing An Interpreter In Go](https://amzn.to/45PIyGq)

<a href="https://amzn.to/45PIyGq"><img src="gobooks/covers/writing-an-interpreter-in-go.png" width="120px"/></a>

*Last published*: **2020**
*Authors:* **Thorsten Ball**

In this book we will create a programming language together.

We'll start with 0 lines of code and end up with a fully working interpreter for the Monkey* programming language.

Step by step. From tokens to output. All code shown and included. Fully tested.

-----

### [Writing A Compiler In Go](https://amzn.to/4bCcFok)

<a href="https://amzn.to/4bCcFok"><img src="gobooks/covers/writing-a-compiler-in-go.jpg" width="120px"/></a>

*Last published*: **2020**
*Authors:* **Thorsten Ball**

This is the sequel to Writing An Interpreter In Go.

We're picking up right where we left off and write a compiler and a virtual machine for Monkey.

Runnable and tested code front and center, built from the ground up, step by step — just like before.

But this time, we're going to define bytecode, compile Monkey and execute it in our very own virtual machine.

It's the next step in Monkey's evolution.

-----

### [Hands-On Software Engineering with Golang](https://amzn.to/4gtAf9l)

<a href="https://amzn.to/4gtAf9l"><img src="gobooks/covers/hands-on-software-engineering-with-golang.jpg" width="120px"/></a>

*Last published*: **2020**
*Authors:* ****

This Golang book distills industry best practices for writing lean Go code that is easy to test and maintain, and helps you to explore its practical implementation by creating a multi-tier application called Links 'R' Us from scratch. You'll be guided through all the steps involved in designing, implementing, testing, deploying, and scaling an application. Starting with a monolithic architecture, you'll iteratively transform the project into a service-oriented architecture (SOA) that supports the efficient out-of-core processing of large link graphs.

You'll learn about various cutting-edge and advanced software engineering techniques such as building extensible data processing pipelines, designing APIs using gRPC, and running distributed graph processing algorithms at scale.  Finally, you'll learn how to compile and package your Go services using Docker and automate their deployment to a Kubernetes cluster.

-----

### [A Go Developer's Notebook](https://leanpub.com/GoNotebook/)

<a href="https://leanpub.com/GoNotebook/"><img src="gobooks/covers/a-go-developers-notebook.png" width="120px"/></a>

*Last published*: **2019**
*Authors:* ****

A developer's experience in golang.

-----

### [Hands-On Dependency Injection in Go](https://amzn.to/4knFw1R)

<a href="https://amzn.to/4knFw1R"><img src="gobooks/covers/hands-on-dependency-injection-in-go.jpg" width="120px"/></a>

*Last published*: **2018**
*Authors:* **Corey Scott**

Hands-On Dependency Injection in Go takes you on a journey, teaching you about refactoring existing code to adopt dependency injection (DI) using various methods available in Go.

Of the six methods introduced in this book, some are conventional, such as constructor or method injection, and some unconventional, such as just-in-time or config injection. Each method is explained in detail, focusing on their strengths and weaknesses, and is followed with a step-by-step example of how to apply it. With plenty of examples, you will learn how to leverage DI to transform code into something simple and flexible.

Hands-On Dependency Injection in Go takes a pragmatic approach and focuses heavily on the code, user experience, and how to achieve long-term benefits through incremental changes.

-----

### [Security with Go](https://amzn.to/3MbSHqc)

<a href="https://amzn.to/3MbSHqc"><img src="gobooks/covers/security-with-go.jpg" width="120px"/></a>

*Last published*: **2018**
*Authors:* ****

Security with Go is the first Golang security book, and it is useful for both blue team and red team applications. With this book, you will learn how to write secure software, monitor your systems, secure your data, attack systems, and extract information.

Defensive topics include cryptography, forensics, packet capturing, and building secure web applications.

Offensive topics include brute force, port scanning, packet injection, web scraping, social engineering, and post exploitation techniques.

-----

### [Go with the Domain: Building Modern Business Software in Go](https://threedots.tech/go-with-the-domain/) *Free*

<a href="https://threedots.tech/go-with-the-domain/"><img src="gobooks/covers/go-with-the-domain.jpg" width="120px"/></a>

*Last published*: ****
*Authors:* **Three Dots Labs**

*Go with the Domain* is a book on building Go applications that solve complex problems in an idiomatic way.
It features techniques like Domain-Driven Design, Clean Architecture, CQRS (Command Query Responsibility Segregation), and other patterns.

The book is based on a [real open source project](https://github.com/ThreeDotsLabs/wild-workouts-go-ddd-example).
Chapters go through refactoring of the project to show common anti-patterns and how to avoid them.

-----

### [Spaceship Go](https://blasrodri.github.io/spaceship-go-gh-pages/) *Free*

<a href="https://blasrodri.github.io/spaceship-go-gh-pages/"><img src="gobooks/covers/spaceship-go.svg" width="120px"/></a>

*Last published*: ****
*Authors:* ****

Spaceship Go is a journey to Go's Standard Library. Several key packages are explored in order to understand
why they are useful, and also how they are implemented under the hood. It serves as a reference of some key
available tools and primitives offered by the language, which can be very helpful to write performant and idiomatic
code.

-----

### [Ultimate Go Notebook](https://amzn.to/4byPxGh)

<a href="https://amzn.to/4byPxGh"><img src="gobooks/covers/ultimate-go-notebook.jpg" width="120px"/></a>

*Last published*: ****
*Authors:* **Ardan Labs**

The Ultimate Go Notebook is the official companion book for the Ardan Labs Ultimate Go class.

With this book, you will learn how to write more idiomatic and performant code with a focus on micro-level engineering decisions.

This notebook has been designed to provide a reference to everything mentioned in class, as if they were your own personal notes.


## Web Development

### [Mastering Go, 4rd edition](https://amzn.to/4aMT3N8)

<a href="https://amzn.to/4aMT3N8"><img src="gobooks/covers/mastering-go-4th-edition.jpg" width="120px"/></a>

*Last published*: **2024**
*Authors:* **Mihalis Tsoukalos**

This is the 4rd edition of Mastering Go. There exist many exciting new topics in this latest edition including writing RESTful services, working with the Websocket protocol, using GitHub Actions and GitLab Actions for Go projects as well as an entirely new chapter on Generics and the development of lots of practical utilities.

-----

### [Let's Go!](https://lets-go.alexedwards.net/)

<a href="https://lets-go.alexedwards.net/"><img src="gobooks/covers/lets-go.png" width="120px"/></a>

*Last published*: **2023**
*Authors:* **Alex Edwards**

Let's Go teaches you step-by-step how to create fast, secure and maintainable web applications using Go. It guides you through the start-to-finish build of a real-world application — covering topics like how to structure your code, manage dependencies, authenticate and authorize users, secure your server and test your application.

-----

### [Let's Go Further](https://lets-go-further.alexedwards.net/)

<a href="https://lets-go-further.alexedwards.net/"><img src="gobooks/covers/lets-go-further.png" width="120px"/></a>

*Last published*: **2023**
*Authors:* **Alex Edwards**

Let's Go Further helps you extend and expand your knowledge of Go — taking you beyond the basics and guiding you through advanced patterns for developing, managing and deploying APIs and web applications. By the end of the book you'll have all the knowledge you need to create robust and professional APIs which act as backends for SPAs and native mobile applications, or function as stand-alone services.

-----

### [Webapps in Go the anti textbook](https://github.com/thewhitetulip/web-dev-golang-anti-textbook) *Free*

<a href="https://github.com/thewhitetulip/web-dev-golang-anti-textbook"><img src="gobooks/covers/webapps-in-go-the-anti-textbook.jpg" width="120px"/></a>

*Last published*: **2021**
*Authors:* ****

This book was written to teach how to develop web applications in Go for people who know a bit of Go and have basic information about web applications in general. We (you) will build a webapp without using a third party framework and using as few external libraries as possible. The advantage is that you'll learn a lot when you code without a framework.

-----

### [Build SaaS apps in Go](https://amzn.to/3STz7Sz)

<a href="https://amzn.to/3STz7Sz"><img src="gobooks/covers/build-saas-apps-in-go.jpg" width="120px"/></a>

*Last published*: **2021**
*Authors:* ****

Together, we'll build a strong, API-first, reusable codebase suitable for
building a SaaS or vanilla web application. By the end of the book you'll have
a solid framework to use as the starting point for future projects.

-----

### [Go Brain Teasers](https://amzn.to/4vhK8uf)

*Last published*: **2021**
*Authors:* **Miki Tebeka**

The Go programming language is a simple one, but like all other languages it has its quirks. This book uses these quirks as a teaching opportunity. By understanding the gaps in your knowledge - you'll become better at what you do.

This book contains 25 mind bending quizzes and answers. You can view a sample chapter [here](https://www.353solutions.com/go-brain-teasers).

-----

### [Creative DIY Microcontroller Projects with TinyGo and WebAssembly](https://amzn.to/4f8MfuD)

<a href="https://amzn.to/4f8MfuD"><img src="gobooks/covers/creative-diy-microcontroller-projects-tinygo-webassembly.jpg" width="120px"/></a>

*Last published*: **2021**
*Authors:* ****

While often considered a fast and compact programming language, Go usually creates large executables that are difficult to run on low-memory or low-powered devices such as microcontrollers or IoT. TinyGo is a new compiler that allows developers to compile their programs for such low-powered devices. As TinyGo supports all the standard features of the Go programming language, you won't have to tweak the code to fit on the microcontroller.

This book is a hands-on guide packed full of interesting DIY projects that will show you how to build embedded applications. You will learn how to program sensors and work with microcontrollers such as Arduino UNO and Arduino Nano IoT 33. The chapters that follow will show you how to develop multiple real-world embedded projects using a variety of popular devices such as LEDs, 7-segment displays, and timers. Next, you will progress to build interactive prototypes such as a traffic lights system, touchless hand wash timer, and more. As you advance, you'll create an IoT prototype of a weather alert system and display those alerts on the TinyGo WASM dashboard. Finally, you will build a home automation project that displays stats on the TinyGo WASM dashboard.

By the end of this microcontroller book, you will be equipped with the skills you need to build real-world embedded projects using the power of TinyGo.

-----

### [Distributed Services with Go Your Guide to Reliable, Scalable, and Maintainable Systems](https://amzn.to/3SU8lJJ)

<a href="https://amzn.to/3SU8lJJ"><img src="gobooks/covers/distributed-services-with-go.jpg" width="120px"/></a>

*Last published*: **2021**
*Authors:* **Travis Jeffery**

Take your Go skills to the next level by learning how to design, develop, and deploy a distributed service. Start from the bare essentials of storage handling, work your way through networking a client and server, turn that single-node application into a distributed system with service discovery and consensus, and then deploy your service to the cloud. All this will make coding in your day job or side projects easier, faster, and more fun.

-----

### [Build Systems with Go: Everything a Gopher Must Know](https://amzn.to/4b3VmeX)

<a href="https://amzn.to/4b3VmeX"><img src="gobooks/covers/build-systems-with-go.png" width="120px"/></a>

*Last published*: **2021**
*Authors:* **Juan Manuel Tirado**

The Go ecosystem is helping developers to build distributed and scalable systems efficiently. If you plan to jump into this fascinating world, you must know how Go can help you to build REST APIs, use SQL/NoSQL databases, data streaming platforms, gRPC, design your own CLIs, or how to log your programs efficiently just to mention a few. *Build Systems with GO: Everything a Gopher Must Know* is split into two blocks: the first explores the Go language and its standard library, the second one provides the reader with examples and explanations of the most powerful libraries to be used in any Go development. With more than 200 detailed and straight-forward examples [available at GitHub](https://github.com/juanmanuel-tirado/savetheworldwithgo), this book helps early adopters and experienced developers to have a real view of what a system built with Go looks like.

-----

### [12 Factor Applications with Docker and Go](https://amzn.to/4wx1qVp)
<a href="https://amzn.to/4wx1qVp"><img src="gobooks/covers/12-factor-applications-with-docker-and-go.jpg" width="120px"/></a>

*Last published*: **2020**
*Authors:* ****

A book filled with examples on how to use Docker and Go to create the ultimate 12 Factor applications. It goes over individual steps of [The Twelve-Factor App](https://12factor.net/) guidelines and how to implement them with Go and Docker.

-----

### [Learn Data Structures and Algorithms with Golang](https://amzn.to/3QHSwoY)

<a href="https://amzn.to/3QHSwoY"><img src="gobooks/covers/learn-data-structures-and-algorithms-with-golang.jpg" width="120px"/></a>

*Last published*: **2019**
*Authors:* ****

The book begins with an introduction to Go data structures and algorithms. You'll learn how to store data using linked lists, arrays, stacks, and queues. Moving ahead, you'll discover how to implement sorting and searching algorithms, followed by binary search trees. This book will also help you improve the performance of your applications by stringing data types and implementing hash structures in algorithm design. Finally, you'll be able to apply traditional data structures to solve real-world problems.
By the end of the book, you'll have become adept at implementing classic data structures and algorithms in Go, propelling you to become a confident Go programmer.

-----

### [Web Development with Go: Learn to Create Real World Web Applications using Go](https://amzn.to/44mqpi7)

*Last published*: ****
*Authors:* **Jon Calhoun**

Web Development with Go was written to teach both beginners and experts how to create and deploy a real web application. You won't be building a boilerplate TODO list, but will instead be creating and deploying a production ready photo gallery application, similar to Pixieset, from scratch. The book assumes no previous web development experience and covers everything you need to know to successfully build your own web application.

-----

### [Wasm Cooking with Golang](https://k33g.gumroad.com/l/wasmcooking)

<a href="https://k33g.gumroad.com/l/wasmcooking"><img src="gobooks/covers/wasm-cooking-with-golang.jpg" width="120px"/></a>

*Last published*: ****
*Authors:* ****

You will learn how to generate WebAssembly applications with GoLang and run WebAssembly in your browser and out of your browser.

This e-book comprises 23 complete recipes with the code examples necessary to reproduce these recipes:
- Wasm & Go in your browser
- Wasm & Go with Node.js
- WasmEdge & Go
- Wasm in the Cloud: Do you know Atmo?

-----

### [Generative Art in Go](https://p5v.gumroad.com/l/generative-art-in-golang)

<a href="https://p5v.gumroad.com/l/generative-art-in-golang"><img src="gobooks/covers/generative-art-in-go.jpg" width="120px"/></a>

*Last published*: ****
*Authors:* ****

Generative art is a unique form of artistic expression, building bridges between computer programming, randomness, and visual aesthetics.

This short book will introduce novice and experienced Go programmers to the beautiful world of algorithmic art and computer graphics. If you are looking for new areas to apply your favorite language, go check it out!

-----

### [Building Web Apps with Go](https://codegangsta.gitbooks.io/building-web-apps-with-go/content/) *Free*

*Last published*: ****
*Authors:* ****

A good resource for start Building Web Apps with Go.

-----

### [Build Web Application with Golang](https://astaxie.gitbooks.io/build-web-application-with-golang/content/en/index.html) *Free*

*Last published*: ****
*Authors:* **Astaxie**

Another awesome book for learning Web Development in Golang.

-----


## Resources

### [A tour of Go](https://tour.golang.org/)
### [Video: Learn Go Syntax in one video](https://www.youtube.com/watch?v=CF9S4QZuV30)
### [Tutorials: Go by Example](https://gobyexample.com/)
### [Go Fundamentals Video Training](https://shop.oreilly.com/category/learning-path/go-fundamentals.do)
### [More Books on the Go Wiki](https://github.com/golang/go/wiki/Books)
### [TutorialEdge.net Course](https://tutorialedge.net/course/golang/)
### [Coursera Specialization: Programming with Go](https://www.coursera.org/specializations/google-golang/)
### [Course: Understand Go's In-Depth Mechanics](https://www.udemy.com/course/learn-go-the-complete-bootcamp-course-golang/?referralCode=5CE6EB34E2B1EF4A7D37)
### [Course: Mastering Go Programming](https://www.udemy.com/course/mastering-go-programming)
### [Course: Web Development with Google's Go Programming Language](https://www.udemy.com/course/go-programming-language)
### [Golangbot.com Articles](https://golangbot.com/)
### [Tuxerrante repo on go exercises](https://github.com/tuxerrante/go_exercises)

## Related Lists

- [Dev Books](https://github.com/devtoolsd/DevBooks) – A collection of development and programming books  
- [JavaScript Books](https://github.com/minouou/jsbooks) – A collection of books and learning resources for JavaScript  
- [PostgreSQL Books](https://github.com/sara8086/PostgresBooks) – A curated list of books and guides for PostgreSQL  
- [Python Books](https://github.com/lara-west/PythonBooks) – A comprehensive list of Python books and tutorials
- [AI Books](https://github.com/mahseema/aibooks) – A curated collection of books and resources on artificial intelligence  



Contributing
====
Your contributions are always welcome, just follow [the rules](https://github.com/dariubs/GoBooks/blob/master/CONTRIBUTING.md)!

License
====
<a rel="license" href="https://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
