"If you think the Go standard library is not powerful enough to do what you want to do, you might be wrong."
or not...
The standard libraries are not perfect. They do have very useful building blocks, but they are far from complete or perfect.
Take the http library, for example. There's no built-in context:
type HandlerFunc func(ResponseWriter, Request)
type Handler interface {
ServeHTTP(ResponseWriter, Request)
}
This resulted in a complete mess when it comes to http middleware because everybody is solving the context problem their own way (including google itself).
or not...
The standard libraries are not perfect. They do have very useful building blocks, but they are far from complete or perfect.
Take the http library, for example. There's no built-in context:
type HandlerFunc func(ResponseWriter, Request)
type Handler interface { ServeHTTP(ResponseWriter, Request) }
This resulted in a complete mess when it comes to http middleware because everybody is solving the context problem their own way (including google itself).