Re: [go-nuts] add method to interface via reflect

2020-09-10 Thread Kurtis Rader
On Thu, Sep 10, 2020 at 3:44 PM Vasiliy Tolstov  wrote:

> Hi! Does go support adding method to exiting interface via reflect?
> Mostly I need to add method to struct pointer.
>

No, and this sounds like an XY problem . It would
help if you described the problem rather than the solution.

-- 
Kurtis Rader
Caretaker of the exceptional canines Junior and Hank

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CABx2%3DD9Q%3Dwm%2Bot58VrxWPeg2j7gMsvuiTTfEvKNPzHjCuqZZuw%40mail.gmail.com.


[go-nuts] add method to interface via reflect

2020-09-10 Thread Vasiliy Tolstov
Hi! Does go support adding method to exiting interface via reflect?
Mostly I need to add method to struct pointer.

-- 
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CACaajQs62OAkU7OpFpQz9n3zZQPnzrcrAsWtFL78fgjfPv_%3Dkw%40mail.gmail.com.