On Wed, Apr 19, 2017 at 1:35 PM, dc0d wrote:
>
> In Go there is no way to pass a reference to an instance of the
> container/enclosing type, to a function of an embedded type. What work
> around do you use for this? Any idiomatic Go way?
>
> Currently I model the
In Go there is no way to pass a reference to an instance of the
container/enclosing type, to a function of an embedded type. What work
around do you use for this? Any idiomatic Go way?
Currently I model the shared functionality using an interface. Then the
implementation is another struct,