On Mon, Jun 19, 2017 at 8:38 PM, Dat Huynh <audathu...@gmail.com> wrote: > > On Tuesday, June 20, 2017 at 4:07:46 AM UTC+10, Ian Lance Taylor wrote: >> >> On Sat, Jun 17, 2017 at 5:17 PM, Dat Huynh <audat...@gmail.com> wrote: >> > Why do you need this feature? > > > I have already answered the question in my email replying Lutz Horn.
Thanks. Unfortunately, I don't understand your answer. You still have to write the methods somewhere. reflect.MakeStruct is not going to write the methods for you. And once you write the methods, you have a type that implements the interface that you want. 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 golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.