Thanks. That continues to trip me up.
On Fri, 2019-11-22 at 17:01 -0800, Ian Lance Taylor wrote:
> On Fri, Nov 22, 2019 at 1:06 PM Dan Kortschak
> wrote:
> >
> > Are reflect.Type.PkgPath/Name supposed to return strings for
> > defined
> > types? There's nothing in the documentation that says
Solved. Because they are not named types (being the pointer to the
type).
On Sat, 2019-11-23 at 07:36 +1030, Dan Kortschak wrote:
> Are reflect.Type.PkgPath/Name supposed to return strings for defined
> types? There's nothing in the documentation that says they don't.
>
> But
On Fri, Nov 22, 2019 at 1:06 PM Dan Kortschak wrote:
>
> Are reflect.Type.PkgPath/Name supposed to return strings for defined
> types? There's nothing in the documentation that says they don't.
>
> But https://play.golang.org/p/8Jede-mimtA and
> https://play.golang.org/p/LT5m6yz0P5Y don't show
Are reflect.Type.PkgPath/Name supposed to return strings for defined
types? There's nothing in the documentation that says they don't.
But https://play.golang.org/p/8Jede-mimtA and
https://play.golang.org/p/LT5m6yz0P5Y don't show any output where I
would expect them to.
Dan
--
You received