Why are you using a pointer to an interface?
This is necessary unless you're going some kind of unsafe magic.
There was a change that no longer auto deferences pointers to
interfaces, since this is almost always a bug.
"The language change is that uses of pointers to interface values no longer
automatically dereference the pointer. A pointer to an interface value is more
often a beginner’s bug than correct code."
http://golang.org/doc/devel/release.html#2010-10-13
- jessta
--
=====================
http://jessta.id.au
Yes, but only because you hadn't updated since last August.
Russ
changeset: 6437:54014073d377
user: Russ Cox <r...@golang.org>
date: Thu Sep 30 14:59:41 2010 -0400
description:
gc, spec, tests: no auto-indirect of pointer to interface value
Implies no embedding of pointer to interface value either.
R=gri, iant, ken2, r, r2
CC=golang-dev
http://codereview.appspot.com/2289041