Re: [go-nuts] Re: error in testcode

2021-03-29 Thread Dr. Lincy Jim
I did func TestProvisionhistory(t *testing.T) { type fields struct { StatusStatus Type BookingType Updated time.Time History []BookingHistory } type args struct { b *Booking } tests :=

[go-nuts] error in testcode

2021-03-28 Thread Dr. Lincy Jim
Hi all, I have included the following lines of code if b.ConsentProvided { var t string if bl.Status != StatusExpired && bl.Status != StatusCancelled { t = fmt.Sprintf("Consent to share information by %s", bl.RequestedBy) //lchangetest1 if len(bl.Requested

Re: [go-nuts] upgrade golang to 1.1.5 in vscode not showing

2021-03-25 Thread Dr. Lincy Jim
, March 25, 2021 at 3:41:41 PM UTC+11 Kurtis Rader wrote: > On Wed, Mar 24, 2021 at 9:16 PM Dr. Lincy Jim wrote: > >> Yes I am using Go in WSL(Sorry I forgot to mention it) >> go 1.13 version is in Networks >> \\wsl$\Ubuntu\home\lincy\go >> >> but the 1.15 ver

Re: [go-nuts] upgrade golang to 1.1.5 in vscode not showing

2021-03-24 Thread Dr. Lincy Jim
obably have no effect. What does `which -a go` output? It seems > likely that you have more than one installation of the Go toolchain with > the 1.13 version being some place other than /usr/local/go/bin. > > On Wed, Mar 24, 2021 at 8:26 PM Dr. Lincy Jim wrote: > >> Hi,

[go-nuts] upgrade golang to 1.1.5 in vscode not showing

2021-03-24 Thread Dr. Lincy Jim
Hi, My os is windows 10 on which i have installed golang1.16 andd the version of golang on my vscode is1.13 but since I am using my laptop for work ,i have been asked to upgrade from 1.13 to 1.15 I did the following steps in terminal of vscode-ubuntu $ sudo wget https://golang.org/dl/go1.15.5.