https://play.golang.org/p/A6iKrNu9db
On Sun, Mar 13, 2016 at 7:14 PM Tim K wrote:
I know that I could write a dummy implementation of the interface, create
its zero value and then get the methods, but is it possible to do it with
just the interface definition?
Tim
--
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 golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--I know that I could write a dummy implementation of the interface, create
its zero value and then get the methods, but is it possible to do it with
just the interface definition?
Tim
--
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 golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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 golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.