/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

www.alexedwards.net
| | justinas.org

[AI summary] The article explains the concept of middleware in web development, focusing on Go, and provides examples of implementing middleware for tasks like domain restriction, response modification, and data sharing between handlers.
1.4 parsecs

Travel
| |
| | cep.dev

Go's pprof package is frequently used for heap and CPU profiles, but a little used feature of the package is being able to create custom profiles.
6.4 parsecs

Travel
| |
| | dusted.codes

Building a secure note sharing service in Go
4.0 parsecs

Travel
| |
| | hjr265.me

I know many will start with something like Gin whenever they are working on a JSON/HTTP-based backend in Go. I, not entirely sure if the minority, try to stick to Go's built-in net/http package and, at most, use Gorilla Mux in most of my Go projects. And so serving something simple like JSON is no different from the package's point of view as any other content type: whatever it is, write it out to the w, the http.
17.8 parsecs

Travel
|