Latest Articles

Go

Semaphores and Rate Limiting in Go

Master semaphores and rate limiting in Go. Learn to control concurrent access, limit throughput, and implement token bucket, leaky bucket, and sliding window algorithms for …

Go

Shell Integration and Scripting in Go

Learn how to run shell commands, execute scripts, manage processes, and build cross-platform CLI tools in Go. Covers os/exec, command piping, environment management, and shell …

Go

SOLID Principles in Go

Apply SOLID principles to Go code — Single Responsibility with package design, Open/Closed with interfaces, Liskov Substitution, Interface Segregation with small interfaces, and …

Go

SQL Query Building in Go

Master SQL query building in Go — raw queries with database/sql, avoiding N+1 with JOINs, the Squirrel query builder for dynamic conditions, sqlx for struct scanning, and when to …

Go

Static Files and HTML Templates in Go

Master serving static files and rendering HTML templates in Go — http.FileServer, http.ServeFile, html/template security, template caching, custom functions, template composition …

Go

Stream Processing in Go

Build stream processing systems in Go — tumbling and sliding windows, stateful aggregations, event-time vs processing-time, session windows, backpressure, and integrating with …

Go

Struct Tags and Metadata

Master struct tags in Go for encoding metadata. Learn to use tags for JSON marshaling, database mapping, validation, and custom metadata handling.

Go

Structural Design Patterns in Go

Master structural design patterns in Go — Adapter for interface compatibility, Decorator for layered behavior, Facade for subsystem simplification, Proxy for controlled access, and …