Postgres MCP in Go - Giving Claude Code a Live Line to Your Database
Introduction Copy-pasting SQL from a chat window into a DB client and back again is how most "AI + database" workflows actually feel. 🙃 It
Curated development tutorials from top sources. Filter by language.
Introduction Copy-pasting SQL from a chat window into a DB client and back again is how most "AI + database" workflows actually feel. 🙃 It
Every AI agent framework has its own deployment story. Claude-based assistants run one way, OpenAI agents another, security-focused runtimes yet anoth
Interface กับ OOP จากบทความที่แล้ว เราทำ OOP ด้วยการผูก method ให้ struct ผ่าน receiver ทีนี้ถ้าเราอยากจัดการกับ struct หลายประเภทที่มีพฤติ
ออกตัวก่อนว่าไม่ได้เชี่ยวชาญ Go อะไรมากมาย แค่นึกไม่ออกว่าเขียนเรื่องอะไรดี แล้วเรื่องนี้ก็ผุดขึ้นมา ใน Go สามารถทำ OOP ได้ แต่จะค่อนข้างต่างจากภาษาอ
You maintain a shared Go module. A breaking API change is coming. Which repos across your org import it — and at which version? You own github.com
OpenAI streaming looks simple from the outside. Set stream: true, iterate the response, pipe it to the client. One afternoon of work. Then you ship i
gRPC interceptors are the middleware pattern, specialized for gRPC. If you've written HTTP middleware before, the shape is familiar — a function that
Go 1.18 shipped generics in March 2022. The two years before that were dominated by hopeful blog posts ("finally, a real type system!") and the two ye
Go's performance culture has a ritual quality. "Use sync.Pool." "Avoid interface boxing." "Preallocate slices." Copy-pasted from blog posts and applie
sync.Pool is one of those Go features that shows up prominently in "how to write fast Go" blog posts and then gets applied to everything. The result i
In the last post I walked through the four concurrency pillars — shared memory + locks, CSP, actors, STM — and argued that real systems mix them on pu
Merge Sort es un algoritmo de ordenamiento basado en el paradigma Divide y Vencerás. Divide recursivamente el arreglo en mitades hasta llegar a eleme
I didn't expect a load balancer to make me uncomfortable. But here we are. I built one in Go for my MSc case study. Round-robin distribution, health
In August 2024 Andrei Merlescu wrote a package called verbose and released it under the Apache 2.0 license. The idea was novel: when interacting with
O Fyne é um toolkit gráfico moderno criado para simplificar o desenvolvimento de interfaces gráficas com a linguagem de programação Go. Com ele, é po
If you've been following this tutorial, you'd have the following file structure: Unit testing With unit testing we just want to verify t
Go has an inbuilt regexp package which supports regular expression by the RE2 engine. This is because of this single and self-sufficient design choice
How I deleted a generic Pipeline[T] framework and a pass-through workflow layer, and why the codebase got better by having less code. The hardest ref
In Part 3, I built authentication — JWT tokens, bcrypt hashing, middleware that wraps handlers like Russian dolls. The API had four endpoints and was
CQRS in Go series: Part 1: the aggregate, Transition() and Clone() Part 2: command handlers without side effects Part 3: sagas and event chor