Building a Go CI/CD Pipeline in GitLab: A Developer's Survival Guide

Ah, CI/CD pipelines - the magical conveyor belts that turn our chaotic code commits into polished production artifacts. Let’s create one that would make even Go’s gopher mascot do a happy dance. I promise this won’t be another “Hello World” tutorial - we’re building a pipeline that actually does useful work while keeping your codebase healthier than a hipster’s kombucha stash. The Gopher’s Toolbelt: Prerequisites Before we start our pipeline rave, you’ll need:...

June 14, 2025 · 4 min · 680 words · Maxim Zhirnov

Построение конвейера Go CI/CD в GitLab: Руководство по выживанию разработчика

Ах, CI/CD-пайплайны — магические конвейеры, которые превращают наши хаотичные коммиты кода в отполированные производственные артефакты. Давайте создадим такой, который заставил бы даже талисмана Go — гофера — весело танцевать. Я обещаю, что это не будет ещё одним туториалом «Hello World» — мы создаём пайплайн, который действительно выполняет полезную работу, сохраняя вашу кодовую базу здоровее, чем запас чайного гриба у хипстера. Набор инструментов гофера: предварительные требования Перед тем как начать наше веселье с пайплайнами, вам понадобятся:...

June 14, 2025 · 4 min · 685 words · Maxim Zhirnov
CQRS in Go: How to Stop Your Code From Having Split Personality Disorder With Kafka

CQRS in Go: How to Stop Your Code From Having Split Personality Disorder With Kafka

Picture this: your Go application is like a overworked waiter at a Michelin-star restaurant. It’s taking orders (writes), serving dishes (reads), refilling drinks (updates), and dealing with “I-want-to-speak-to-the-manager” Karens (deletes) - all while wearing those uncomfortable dress shoes. Enter CQRS: the architectural equivalent of hiring a dedicated chef and sommelier team. Let’s cook up some scalable goodness! Why Your Code Needs Therapy (and CQRS) Traditional CRUD is like using a Swiss Army knife to perform brain surgery - possible, but messy....

June 10, 2025 · 4 min · 676 words · Maxim Zhirnov
CQRS в Go: Как предотвратить раздвоение личности в вашем коде с помощью Kafka

CQRS в Go: Как предотвратить раздвоение личности в вашем коде с помощью Kafka

Представьте: ваше приложение на Go похоже на перегруженного работой официанта в ресторане, отмеченном звездой Мишлен. Оно принимает заказы (записи), подаёт блюда (чтения), подливает напитки (обновления) и разбирается с «хочу поговорить с менеджером» Кэрри — всё это в неудобных туфлях. На помощь приходит CQRS — архитектурный аналог найма команды шеф-поваров и сомелье. Давайте создадим масштабируемое решение! Почему вашему коду нужна терапия (и CQRS) Традиционный CRUD подобен использованию швейцарского армейского ножа для проведения нейрохирургии — возможно, но грязно....

June 10, 2025 · 4 min · 674 words · Maxim Zhirnov
Squeezing Blood From a Stone: Profiling and Benchmarking Go Apps Like a Circus Juggler

Squeezing Blood From a Stone: Profiling and Benchmarking Go Apps Like a Circus Juggler

When your Go application starts moving at the speed of continental drift, it’s time to break out the profiling tools and benchmark like your production cluster depends on it (because it does). Let’s turn your code from “meh” to “blazing fast” using techniques that would make a gopher blush. The Profiling Circus Step 1: Installing Your Trapeze First, add the profiling import to your main package: import _ "net/http/pprof" Step 2: Catching CPU火焰 in Mid-air...

May 25, 2025 · 3 min · 512 words · Maxim Zhirnov