type X Y is a type declaration, you have to cast between the types
type X=Y is a type alias, where X can be used as Y without casting

Am Dienstag, 13. August 2019 06:53:20 UTC+2 schrieb Sathish VJ:
>
> And what is the difference between each of these: type alias, type 
> redefinition, type adapter.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/ffaba699-f9c6-4418-857e-999a693206a6%40googlegroups.com.

Reply via email to