Writing a Basic AI Agent in Go with the OpenAI SDK
A walkthrough of building a small AI agent in Go with the official OpenAI SDK, using plain code and an in-memory store instead of frameworks.
Posts tagged with Go.
A walkthrough of building a small AI agent in Go with the official OpenAI SDK, using plain code and an in-memory store instead of frameworks.
A walkthrough of building a first compiler in Go and C with LLVM, using a small, reproducible setup that fetches its own dependencies.
A beginner's guide to unit testing in Go using the standard testing package, covering t.Errorf vs t.Fatalf, table-driven tests, and error handling.
A freeCodeCamp course on building MagicStream, a full-stack movie streaming app with a Go and Gin API, React, MongoDB, OpenAI, and auth.
How to implement Server-Sent Events in Go: the HTTP headers and flushing, the wire format, keeping connections alive, and when SSE beats WebSockets.
Supervised fire-and-forget goroutines in Go: bounded concurrency, panic recovery, and shutdown for the small best-effort jobs started with go func().
A freeCodeCamp tutorial on building a bank ledger in Go and PostgreSQL with double-entry accounting, sqlc, row locking, retries, and reconciliation.
witr traces any process, port, container, or file back to what started it, and closes busy ports, using a CLI, JSON output, or a TUI on every major OS.
The Appwrite CLI was rewritten from TypeScript to Go, starting 17x faster, installing 2 packages instead of 330, and shrinking from 66MB to 14MB.
A JetBrains Go blog guide on wrapping, logging, and returning errors in Go, plus when to use panic and defer and which mistakes to avoid.