Leanpub Header

Skip to main content

Filters

Category: "Go"

Go

  1. Money Never Lies
    Money Never Lies
    Designing Payment Systems That Survive Production
    Alwy

    Retries, timeouts, webhooks and month-end reconciliation: the parts tutorials skip. A practical book for backend engineers who build or own payment systems, from cards to real-time rails like Pix, UPI and QRIS.

  2. Building Production Web APIs With Go
    Building Production Web APIs With Go
    Build RESTful APIs using PostgreSQL, sqlc, pgx, Docker, OpenAPI and Kubernetes
    Iede Snoek

    Build a Go Web API that goes beyond “Hello, World”Getting a REST API running in Go is easy.Building one that is structured well, handles concurrent requests correctly, manages database changes safely, can be tested, containerized, documented, and deployed is where things become interesting.Building Production Web APIs with Go takes you through that journey step by step.You begin with a tiny HTTP server and gradually develop it into a complete library API backed by PostgreSQL. Rather than presenting a finished architecture and asking you to copy it, the book introduces problems as the application grows, then shows how to solve them. You see not only what the final code looks like, but why the design changes are necessary.Along the way, you will learn how to:Build RESTful HTTP APIs using Go, net/http, and ChiWork directly with PostgreSQL using pgxGenerate type-safe database code from SQL with sqlcManage schema changes with Goose migrationsSeparate HTTP models from database modelsStructure a Go backend for maintainabilityHandle transactions, row locking, and concurrent requests safelyEnforce data integrity with PostgreSQL constraintsWrite unit tests using database abstractions and test doublesUnderstand what unit tests cannot prove without a real databaseDocument your API with OpenAPI and Swagger UIPackage the application with Docker and Docker ComposeImplement graceful shutdownDeploy the complete application to KubernetesThe example application is deliberately realistic. A seemingly simple operation—allowing a user to borrow a book—eventually exposes concurrency problems and leads naturally to transactions, PostgreSQL row-level locking, and database constraints. The emphasis throughout is on understanding the engineering decisions behind the code rather than simply copying recipes.Who is this book for?This book is for developers who already know the basics of Go and SQL and want to learn how the pieces of a real backend application fit together.It is not a beginner’s introduction to the Go language, nor is it a comprehensive reference to PostgreSQL, Docker, or Kubernetes. Instead, it concentrates on the practical decisions involved in taking a small Go application toward a production-oriented architecture.If you can write basic Go programs and understand simple SQL queries, this book will help you make the transition from “I can build an API” to “I understand how to engineer a backend.”

  3. Go A Visual Guide
    Go A Visual Guide
    Essential Foundations for Systems Engineers and Junior Developers
    Reiner Braun

    Build a clear mental model of Go through illustrations and small working examples. Learn how source code, packages, interfaces, errors, and goroutines fit together, then apply the foundations to reliable command-line tools and network services.

  4. Architecture at Machine Speed
    Architecture at Machine Speed
    Building Go Systems That Humans and AI Can Safely Change
    Nathan B. Crocker

    AI can write code at machine speed. Can your architecture keep up? Architecture at Machine Speed shows how to build Go systems that remain coherent as humans and AI agents change them at unprecedented velocity. Through a real-world application built from the ground up, you'll learn to turn architectural intent into explicit boundaries, enforceable constraints, and automated safeguards—because when code becomes abundant, coherence becomes the scarce resource.

  5. Using Linux for Software Development
    Using Linux for Software Development
    A Complete Beginner-to-Advanced Guide
    Steve Publications

    From the Linux basics to advanced development workflows, this practical guide shows you how to turn Linux into a powerful software development environment. Learn the command line, work with popular programming languages, use containers and CI/CD, debug and profile applications and build skills you can use every day.

  6. Go Programming Cookbook, Second Edition
    Go Programming Cookbook, Second Edition
    100+ solutions across scaling concurrency, resource budgets, gRPC, databases, profiling, and network security
    GitforGits | Asian Publishing House

    Whenever I've worked on a service, there's always been a morning when it stops being a demo. Then traffic arrives from somewhere nobody planned for, a nightly job overruns into the working day, and a number somebody chose months ago turns out to be wrong. That morning was a different story, though. The thing that separates a survival program from one that doesn't is a set of habits, and those habits can be learned. So, this second edition is organised around them rather than around syntax.

  7. Object Storage as Infrastructure
    Object Storage as Infrastructure
    Building Databases, Queues, Git Systems, and Distributed Applications on S3-Compatible Storage
    Steve Publications

    What if S3 could be more than a place to put files? Build databases, queues, event logs, Git systems and distributed applications directly on object storage. Through production-grade Go implementations, this book explores what works, what breaks and how to design reliable systems around the real guarantees of S3-compatible storage.

  8. G# Programming Language Unlocked
    G# Programming Language Unlocked
    From Beginner to Expert : A Complete Guide to Modern .NET Development with Go, Kotlin, and Swift Ergonomics
    Steve Publications

    Discover G#, a modern .NET language built for developers who want less friction and more clarity. Go from your first line of code to production-ready applications while exploring the simplicity of Go, the expressive feel of Kotlin and Swift and the power of the CLR. Practical examples and real-world guidance make every chapter count.

  9. Terminal Interfaces
    Terminal Interfaces
    Building Modern TUI Applications in Go, Python and Rust
    Steve Publications

    Build terminal apps that feel fast, polished and built to last. Terminal Interfaces takes you from the fundamentals of how terminals work to production-ready TUIs in Go, Python and Rust, using complete examples that grow from simple programs into powerful real-world tools.

  10. Modern Go Systems Programming with Go 1.27
    Modern Go Systems Programming with Go 1.27
    From Language Fundamentals to Production-Grade Distributed Systems
    Steve Publications

    Go beyond Go syntax and learn how real systems are built. Modern Go Systems Programming with Go 1.27 takes you from core language concepts to concurrency, networking, databases, observability and deployment, with runnable examples that show how everything fits together in production-grade distributed systems.

  11. Backpressure in Microservices
    Backpressure in Microservices
    Bounded Queues, Worker Pools, Cancellation, Drop Policies, and Overload Control in Go
    Luca Sepe

    Stop overload from becoming unbounded queues, goroutines, and downstream calls. Build bounded backpressure that fails predictably.

  12. Go Socket Programming
    Go Socket Programming
    From Fundamentals to Production Mastery
    Steve Publications

    Build fast, reliable networked applications with Go by mastering socket programming from the ground up. Through practical examples and production-focused techniques, you will learn how to design scalable servers, implement modern network protocols, secure connections and optimize performance using idiomatic Go and the standard library.

  13. API Rate Limiting & Throttling
    API Rate Limiting & Throttling
    Distributed Quotas, Kubernetes Protection, Tenant Fairness, and Go Middleware
    Luca Sepe

    Another Production Field Manual: protect APIs before overload becomes an outage with rate limiting, throttling, and tenant fairness.

  14. Circuit Breaker and Retries with Exponential Backoff
    Circuit Breaker and Retries with Exponential Backoff
    Resilient Microservice Calls, Failure Containment, Kubernetes Operations, and FinOps Impact
    Luca Sepe

    Learn how to stop retry storms, contain dependency failures, and make resilient microservice calls observable, bounded, and production-ready.

  15. GO Programming in 2026
    GO Programming in 2026
    SouthStone Publications

    A complete, modern guide to writing idiomatic Go, covering generics, goroutines, structured logging, and everything you need to ship a real concurrent service on Go 1.24/1.25. Perfect for developers coming from Python, Java, JavaScript, or C# who want to think and build like a fluent gopher.