New to Go? Read the Go article
Learn databases from the bottom up by coding your own, in small steps, and with simple Go code (language agnostic).Atomicity & durability. A DB is more than files!Persist data with fsync.Crash recovery.KV store based on B-tree.Disk-based data structures.Space management with a free list.Relational DB on top of KV.Learn how tables and indexes are related to B-trees.SQL-like query language; parser & interpreter.Concurrent transactions with copy-on-write data structures.
Build a cloud-native distributed system in Go with authentication, databases, Kafka, gRPC, circuit breakers, and distributed tracing. Each chapter teaches a pattern and extracts it into a reusable platform SDK. By the final chapter, you'll have six deployable services, a complete platform SDK, and the patterns to build the next one faster.
This series of test-driven small coding puzzles lets you code a database from scratch (no dependencies).We'll cover KV storage engines, LSM-Tree indexes, SQL, concurrent transactions, ACID, etc.
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.
This book is for Go programmers who know a little networking, and for network engineers who know a little Go. There's no need to be an expert in either. So, in these chapters, we're building a tool together, Netkit, and it grows a bit more every time we solve a problem. And each chapter kicks off with a situation you might recognise, like a supplier recall, a partner network that's all over the place, or a backup that drags on for no good reason.
Writing good services in Go can be a challenge - you have to write out your database structures, unit and integration testing with CI to see what breaks, keep them updated with migrations, define your API endpoints and routing, update your documentation - all of these things keep you from building your service. Let's be smart about it.
Regex doesn't have to feel like cryptic punctuation. Mastering Regular Expressions shows you how patterns really work, how to debug them when they don't and how to use them confidently across nine programming languages. Go beyond memorizing syntax and learn to write regex that's clear, efficient and portable.
Dive into the future of web development with this essential guide! Unravel the secrets of building real-world applications using the latest technologies. Whether you're a seasoned developer or a CS student, this book is your ticket to mastering full-stack development.
A condensed list of lessons for new to intermediate gophers, including experienced developers who are new to Go.
Learn Go from language foundations to dependable command-line tools and production services. Visual explanations connect concurrency, networking, testing, security, diagnostics, and operations with practical implementation and troubleshooting.
Learning Go has one challenging part, and it isn't the language: there's too much information out there, and everyone does Go their own way. Bogie: How to Go from Zero to Production gives you conventions a whole team can share, and a generator that follows them, so you can deliver value with Go quickly.
Every chapter of this book advances a single, continuous engagement against one fictional target that lives entirely in your homelab: Obsidian Grid, a critical-infrastructure monitoring company that sells a SCADA/ICS visibility platform to energy utilities, water treatment facilities, and manufacturing plants. Obsidian runs Go end to end — a fleet of Go microservices connected by gRPC and Protocol Buffers, a PostgreSQL database for asset inventory, an etcd cluster for configuration, a NATS messaging bus for real-time telemetry, an MQTT broker that talks to field sensors, Prometheus for metrics, and a custom TLS PKI that issues certificates to every component. One target carries every phase of the pentest: the external web dashboard, an API gateway, an operational-technology bridge, an AI-powered anomaly-detection engine, and the infrastructure underneath. You don't just run tools against Obsidian Grid. You build the tools, in Go, one phase at a time: your own recon harness, your own scanner, your own exploits, your own implants, and finally your own report generator. Every tool compiles to a single static binary that you can cross-compile for any OS and drop on any target without dependencies. Each phase ends with a captured flag — `OBSIDIAN{...}` — and those flags become the evidence trail for the deliverable you assemble in the final chapter.
In this book you will learn the following: Build Console appsCreate Web APIsTest your codeCreate and publish reusable packages that others can consumeOrganize your files in a projectWork with files and directoriesParse text with the string library and regular expressions.
Working with Go effectively, requires proficiency and understanding beyond learning the simple syntax. It can take developers months or even years to acquire this experience, especially those coming from OOP. This book sets out to short-circuit that process and get you there faster! Includes Generics.
Production Go is the book about creating and maintaining modern production applications written in Go. It assumes prior programming knowledge, and is recommended for professional programmers.