Best place to start learning Go (aside from the documentation)! Thank you!
@adamkarafyllidis92644 жыл бұрын
I'm in love with Golang! Nice teaching style also! I'd love to work with you as a junior dev haha
@devixrootix4 жыл бұрын
Very helpful content. Keep it up 👍👍
@JasonJA884 жыл бұрын
Please do a video on uploading your project... i don't know what to do with the binary is it like PHP where i can just put it on the server? plus i cant really get the cross compile to work like in the documentation
@EQuimper4 жыл бұрын
What do you mean ? You talk about deploying this on a server ?
@JasonJA884 жыл бұрын
@@EQuimper Yes... I've heard that GO can run anywhere and i don't really understand what to do with the binary. Love your content really helped me.
@EQuimper4 жыл бұрын
Sure I can do a video about that.
@AlfredLotsu Жыл бұрын
Hi, I know I'm 3 years late. But if you want to run your binary on a server, your best bet would be docker
@PriyankBolia4 жыл бұрын
I think you should have put wait in the main loop and make display a go routine to make it more clear, anyway its personal preference. I like to say in my main loop, that I am waiting for the go routines to finish.
@EQuimper4 жыл бұрын
I see, yes I can have done this. I do this on some of my others code. But yes I think would have been much more clear this way. And yes for the go routine on the display I think it's a good idea. Coming from node etc, I always think of goroutine like promise. I know it's not the same but I do use them at the same place. So because the display are sync for me didn't make sense to add those. But yes I see what you mean. I will try and maybe do a new video where I talk about those fixes. Thank you As you can see I'm not an expert on go. I just want to share knowledge to the newcomer cause I feel golang miss so many tutorial online so it's hard to get into
@PriyankBolia4 жыл бұрын
@@EQuimper There is no correct or wrong way. I just mentioned it, because it made me confuse to put wait in another go routine, as I thought the main loop will still exit, and when you put a display function which is blocking due to range on channel, than I understood, how it will finally work. As I am also not an expert, and it made me confuse, so for beginners I think its better to wait for all go routines in the main thread and all parallel tasks should be done in a go routine to be clear.
@jingli21683 жыл бұрын
It is not an idiomatic way to log.Fatal(err) in the go routine.