Ah ok, sorry I don't want to waste your time getting into the nitty-gritty
of a hypothetical situation but are you meaning the
code for (say):
func (u *_UserEdge) Nodes() _SliceN {
nodes := u.UserEdge.Nodes() // type []UserNode
return _SliceUserNode(nodes)
}
?
On Tuesday, October 30, 2018 at 3:19:42 PM UTC, Ian Lance Taylor wrote:
>
> On Tue, Oct 30, 2018 at 8:15 AM, Jamie Clarkson <[email protected]
> <javascript:>> wrote:
> >
> > I'm not sure what you meant by conversion of non-interface to interface
> > types to handle results? I can see the usual conversions working fine
> at
> > the call site for input parameters but the actual ShortestPath func
> seems to
> > need to use interface throughout?
>
> I mean in converting the slice returned by Edge.Nodes to the
> implicitly generated slice interface type.
>
> Ian
>
--
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.