Why would I use *T over just T ?

Michael

> On 28 Jun 2016, at 10:05, Jan Mercl <0xj...@gmail.com> wrote:
> 
> On Tue, Jun 28, 2016 at 11:02 AM Michael Wain <michaelwain1...@gmail.com> 
> wrote:
> 
> > So a := x.(*T) is the same as a := x.(T) ?
> 
> No, because T and *T are distinct types.
> 
> 
> 
> -- 
> -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