Re: [go-nuts] List inside struct

2020-08-30 Thread Shyaka Rene
tring; Names []string } > > I redid your program using the above here: > https://play.golang.org/p/x5I1wYiCNGA > > Sounds like you are coming from some object oriented language background. > Suggest reading "Effective Go": https://golang.org/doc/effective_go.html > &

[go-nuts] List inside struct

2020-08-29 Thread Shyaka
Hello, I need help, I have a struct Person wiith list inside, I add 5 string on list at the end I found that the list is nil, I don't know whre is the error, any help is appreciated. package main import ( "container/list" "fmt" ) type Persons struct { name string Names list.Li

Re: [go-nuts] go in cloud server

2019-04-04 Thread Shyaka Rene
Thank you very much all, now i start the tutorials to see if I can continue with it. thank you again On Thu, Apr 4, 2019 at 1:32 AM David Riley wrote: > On Apr 3, 2019, at 11:34 AM, Shyaka Rene wrote: > > > > > > Hello. > > I'm new to go, i'm looking for a

[go-nuts] go in cloud server

2019-04-03 Thread Shyaka Rene
Hello. I'm new to go, i'm looking for a programming language to replace java. I have simple questions 1. is it a good idea to deploy go in cloud server if go is compiled to machine binaries, what can happen if the cloud provider changes the physical server to different processor archi