[go-nuts] Should an assignment from int to a type based on int succeed?

2020-05-08 Thread christophberger . com
Hi folks, I am not sure but to me it seems that the third assignment in the below code adheres to assignability rule #2 from the spec, yet it fails to compile: package main import "fmt" /* Assignability rule #2 (https://golang.org/ref/spec#Assignabi

[go-nuts] Question regarding a very tricky build set up

2019-12-22 Thread christophberger . com
Oh my gosh. You could have saved all the time for writing that long long question if someone had told you before that GOPATH is a thing of the past. Go has a new package dependency management system called Go Modules, and this removes the need for a central source code workspace. See https://

[go-nuts] Re: Go as your first language

2018-01-17 Thread christophberger . com
Author of the Master Go course here. I am exited to see my course being recommended in this group, thank you Kevin! I am positively surprised to see that you consider the course suitable for learning programming from scratch. The course was designed for people who already know another language,