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 filed under 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.
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.
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.
A practical guide covering four caching strategies for Go APIs, from in-memory maps to Redis, with analogies and code examples.
A beginner-friendly Go tutorial covering installation types variables slices loops functions maps and structs with built-in testing support.