RE: [go-nuts] golan operator

2020-08-09 Thread PH2015014 Anjana Prabhakar
Thank you Kurtis. It was a great help.  Sent from Mail for Windows 10 From: Kurtis RaderSent: 03 August 2020 10:40To: Anjana PrabhakarCc: golang-nutsSubject: Re: [go-nuts] golan operator On Sun, Aug 2, 2020 at 9:56 PM Anjana Prabhakar <prabhakar.anj...@gmail.com> wrote:Dear All, Can someon

[go-nuts] golan operator

2020-08-02 Thread Anjana Prabhakar
Dear All, Can someone help me understand the syntax > a <- b > b := <-a Thanks for the help. Regards, Anjana -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[go-nuts] Could not attach to pid:#### this could be caused by a kernel security setting, try writing "0" to /proc/sys/kernel/yama/ptrace_scope

2020-03-13 Thread Anjana Prabhakar
Hi All, I am trying to use the debug with attach option of VSCode using Go extension. The application based on go that is running is the tendermint blockchain network. on using the run and debug with attach option, I get the following error " Could not attach to pid: this could be caused by

[go-nuts] Re: undefined (type *math/rand.Rand has no field or method randIntn)

2020-02-25 Thread Anjana Prabhakar
Thank you. On Wednesday, 26 February 2020 01:03:35 UTC+5:30, Jake Montgomery wrote: > > > On Tuesday, February 25, 2020 at 1:42:31 PM UTC-5, Anjana Prabhakar wrote: >> >> I get the error as r1.randIntn undefined (type *math/rand.Rand has no >> field or method randInt

Re: [go-nuts] undefined (type *math/rand.Rand has no field or method randIntn)

2020-02-25 Thread Anjana Prabhakar
Thank you. On Wednesday, 26 February 2020 00:16:29 UTC+5:30, burak serdar wrote: > > On Tue, Feb 25, 2020 at 11:42 AM Anjana Prabhakar > > wrote: > > > > Hi All, > > > > I am trying to generate a random integer using the below code s

[go-nuts] undefined (type *math/rand.Rand has no field or method randIntn)

2020-02-25 Thread Anjana Prabhakar
Hi All, I am trying to generate a random integer using the below code snippet: package ABC import ( * "math/rand" ) func execBlock( logger log.Logger,) { var validTxs, invalidTxs, unchkdTxs = 0, 0, 0 txIndex := 0 proxyCb := func(req *xxx, res *yyy) { if r, ok := res.Value.(*); ok { txRes