On Mon, Dec 2, 2019 at 9:57 AM FAN DEAR <myd...@gmail.com> wrote: > > > How to use add2 function, i am very troubled.
On this mailing list please post code as ordinary text, or as a link to the Go playground. Don't post colorized images with a black background. Thanks. You can't declare a Go interface type in C. C doesn't have interface types. The only way to use an exported Go function that takes an argument of interface type is for a Go function to call a C function with an interface value and for that C function to then call a Go function. What are you really trying to do? 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcX_1m6Y7cOH%2Bm_ehtLg9AaL-jibEuWq_jdmZF_OvmuPSQ%40mail.gmail.com.