On Sat, May 13, 2017 at 8:19 PM st ov wrote:
> Go appears to be very strict when using types. Even aliases need to be
explicitly cast.
>
> Are there any contexts where types are implicitly cast? Or must all type
conversions be specified?
cast != conversion
Otherwise for example:
- Ideal constants are implicitly converted according to context in which
they appear.
- If valid, any value is implicitly converted to the appropriate interface
type on assignment/when used as a function argument.
--
-j
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.