Re: [go-nuts] Re: Generics, please go away!

2020-12-26 Thread Christian Staffa
I would rather have a survey with generics specific question that would shed a better light to this topic. at least now, after following this discussion. i also think that it could be good to add it but is it worth when it also adds complexity? then i would say no thank you. go is powerful and

Re: [go-nuts] Re: Graphic Go Algorithms: Graphically learn data structures and algorithms better than before

2020-06-25 Thread Christian Staffa
it seems not to be available for germany users 郎 Sent from my iPhone > On 25. Jun 2020, at 21:20, Yesudeep Mangalapilly wrote: > >  > Hey, thanks for this. It looks good! > >> On Wednesday, June 24, 2020 at 7:58:49 PM UTC-7, huya...@gmail.com wrote: >> free book just 5 day left >> >>

Re: [go-nuts] fmt.Fprint or io.WriteString for http.ResponseWriter write?

2019-04-21 Thread Christian Staffa
When you check out the source code both, fmt.Fprint and io.WriteString, need a writer as the first argument. Writer is an interface type which provides an Write method. And thats exactly what that functions are calling.. the Write method of your provided w (which is http.ResponseWriter in your

Re: [go-nuts] Producer-Consumer with Goroutines

2019-01-24 Thread Christian Staffa
Hi to get a synchronization with goroutines you need to use an unbuffered channel. you have used a buffered channel of 1. Sent from my iPhone > On 24. Jan 2019, at 22:11, diego patricio wrote: > > Hi all, i'am just learning Go and goroutines, I have three goroutines (main, > producer,

Re: [go-nuts] GO lang not able to decrypt the xor-base64 text

2019-01-20 Thread Christian Staffa
Hi I guess the problem is the range over the input. if you have utf8 runes > 1byte in your input, you are not iterating with over each byte anymore. the i is the index of a encoded rune the string., right? Sent from my iPhone > On 19. Jan 2019, at 13:53, Soorya Prakash wrote: > > > I am