I struggled to understand this for a white and just after posting I
embarrassingly notice that it's just a form of chaining and handler is
passed on. Sorry for the noise
On Tuesday, March 24, 2020 at 9:44:31 PM UTC+2, Karolis Tamutis wrote:
>
> Hi,
>
> I'm struggling to
Hi,
I'm struggling to understand what's the point of doing the below
...
handler = &logHandler{log: log, next: handler} // add logging
handler = ensureSessionID(handler) // add session ID
handler = &ochttp.Handler{ // add opencensus
instrumentation
...
Isn't the