Why would I use *T over just T ?

Michael

> On 28 Jun 2016, at 10:05, Jan Mercl <[email protected]> wrote:
> 
> On Tue, Jun 28, 2016 at 11:02 AM Michael Wain <[email protected]> 
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to