On Wed, Jul 5, 2017 at 10:33 AM Darren Hoo <darren....@gmail.com> wrote:

> So in https://talks.golang.org/2015/tricks.slide#5
>
> Other examples of type literals are int and []string,
>
> is actually not correct.

The text is completely correct. Type literal is like a type expression. To
express/describe a type you can use any type, anonymous or named.

-- 

-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