Comments

According to the cgo documentation: "Any C function (even void functions) may be called in a multiple assignment context to retrieve both the return value (if any) and the C errno variable as an error"

I was expecting var res, err = C.sqrt(1) to work but only res, err := C.sqrt(1) works.