Re: [go-nuts] Question about flow of context

2016-11-26 Thread roger peppe
Conventionally context is passed as the first argument to function and method calls. I'm not sure what you mean by "inner facet" there. On 25 Nov 2016 16:58, "Diego Bernardes" wrote: > Got one question about the design of some packages using the new 'context' > in golang. Let's assume we have a

[go-nuts] Question about flow of context

2016-11-25 Thread Diego Bernardes
Got one question about the design of some packages using the new 'context' in golang. Let's assume we have a webserver, when some request get in, we can get the context from request, and this request can trigger several packages. What is the best way to send this context to the other packages? P