Web and APIs
HTTP clients, servers, middleware, frameworks, and complete REST API design.
View all topics →Tutorial · Go 1.21+
Go HTTP Client: Timeouts, JSON, and Reliable Requests
Build reliable outbound HTTP requests in Go with client timeouts, context, JSON, status checks, body limits, and transport reuse.
Read tutorial →Tutorial · Go 1.22+Go net/http: Build an HTTP Server from Scratch
Build a production golang http server with net/http: Go 1.22 routing, PathValue, timeouts, graceful shutdown and static files, every example tested.
Read tutorial →Tutorial · Go 1.22+Go HTTP Middleware: Build a Production Chain
Build composable Go HTTP middleware for logging, recovery, request IDs, authentication, and timeouts.
Read tutorial →Pillar · Go 1.22+Building a REST API with Go: The Complete Tutorial
Build a production-ready REST API in Go with only the standard library: net/http routing, JSON, middleware, context, graceful shutdown, and tests.
Read tutorial →Tutorial · Go 1.22+Learn Golang with a Practical Beginner Course
Learn Golang through a practical course that moves from syntax to tested programs, modules, errors, concurrency, HTTP, and a final service.
Read tutorial →