On Sat, Oct 1, 2016, 09:13 T L <tapir....@gmail.com> wrote:

> In Go spec, https://golang.org/ref/spec#Type_identity, it says:
>
> Two named types <https://golang.org/ref/spec#Types> are identical if
> their type names originate in the same TypeSpec
> <https://golang.org/ref/spec#Type_declarations>.
>
> But, in my impression, in Golang, there are only two pair types are
> identical: uint8 and byte, int32 and rune.
> How to define custom identical named types?
>

Not possible.

-- 

-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.

Reply via email to