Re: [go-nuts] Golang language specification Document: Composite Literals example is not understandable

2021-06-22 Thread Vaibhav Maurya
s://play.golang.org/p/ANw54ShkTvY :) >>> >>> On Tue, Jun 22, 2021 at 6:41 PM Axel Wagner >>> wrote: >>> >>>> (I assume with a runtime rather than a compiler error, but I haven’t >>>>> tried it) >>>> >>>> >>>

[go-nuts] Golang language specification Document: Composite Literals example is not understandable

2021-06-22 Thread Vaibhav Maurya
Hi, Please help me to understand the following syntax mentioned in the Golang language specification document. https://golang.org/ref/spec#Composite_literals following is the search string for CTRL + F // vowels[ch] is true if ch is a vowel \ Following declaration and initialization is confusi

Re: [go-nuts] My solution to Web Crawler excercise

2020-04-18 Thread Vaibhav Kaushik
se the channel, or break > out of the loop (and then close the channel). I tried doing that. Creating different channels for each crawl call and so on, but after some time realised I might be making a over complicated solution for a simple problem. Using channel when there might not be a need.

Re: [go-nuts] My solution to Web Crawler excercise

2020-04-17 Thread Vaibhav
wg.Wait() } Regards, Vaibhav On Tuesday, August 28, 2012 at 3:07:37 AM UTC+5:30, Kyle Lemons wrote: > > Looks pretty good. > > On Mon, Aug 27, 2012 at 2:57 AM, Thomas Gawehns > wrote: > >> Hi folks, >> I'm new to go and must admit i like it. But somehow my