4 ms·
I don't understand your example here, that's not going to compile. variableDefinedInAFarAwayModule is definitionally type int and will not be cast. It is also
by donatj 5y ago
I don't understand your example here, that's not going to compile.
variableDefinedInAFarAwayModule is definitionally type int and will not be cast. It is also unpublished, so you couldn't be using it for a faraway module?
Your 17 in the previous example has it's typed determined at compile time which is why it can be a problem.
see: https://go.dev/play/p/jEdAhKDeLy6 https://go.dev/play/p/jEdAhKDeLy6
- amw-zero 5y agoAh thank you. That's slightly better then.