[go-nuts] Re: Extending objects / methods

2016-12-02 Thread Slawomir Pryczek
Thanks for the post, yes basically i don't want to inherit old methods... the member approach would work for me but im thinking if that won't be slow, probably will do some tests... basically im trying to find some way of doing this without need of additional struct with just one member... type

[go-nuts] Re: Extending objects / methods

2016-12-02 Thread paraiso . marc
> > The declared type does not inherit any methods > bound to the existing > type, but the method set of an > interface type or of elements of a composite type remains unchanged: https://golang.org/ref