Blogs
Jun 28, 2026
Database Access with database/sql
Persist data with Go's database/sql package and a pure-Go SQLite driver, building create, read, and list endpoints.
Jun 16, 2026
Context Deeper — Deadlines, Real Auth & Design
Go beyond key-value context. Learn deadlines, cancellation, real bearer-token auth middleware, and when context is the wrong tool.
Jun 13, 2026
Structs & JSON
Use Go structs and struct tags to serialize JSON responses and parse JSON requests on a /users endpoint.
Jun 13, 2026
Middleware
Add cross-cutting request logging to every endpoint by wrapping a Go ServeMux with middleware.
Jun 13, 2026
Context & Passing Data from Middleware
Use context.Context to pass data from middleware into handlers, with type assertions and custom key types.
Jun 09, 2026
Your First Go Web Server
Build a tiny Go HTTP server on localhost:8080 that responds "Hello, Gopher!" to every request.
Jun 09, 2026
Routing: Multiple Endpoints & Methods
Build a Go server with multiple endpoints and method checks using http.NewServeMux and explicit route handlers.