Re: [go-nuts] Chunked http response with go routines

2019-07-16 Thread Hasan Genc
This is my original code. outside of the go routine w variable is [image: Screen Shot 2019-07-16 at 20.57.35.png] But inside the go routine [image: Screen Shot 2019-07-16 at 20.58.17.png] I don't understand why. Anyone can help about this ? func Make(w http.ResponseWrit

Re: [go-nuts] Chunked http response with go routines

2019-07-15 Thread Hasan Genc
Sorry, I made a mistake when copy paste :) Actually we can assume above code as go func() { ... } Because I want to reference of w variable which is the type of http.ResponseWrite. My actual problem is w.wr is nil inside go routine. I can post the code today but I can not access the code right