On Tue, Oct 29, 2019 at 11:45 PM <julio.neme...@gmail.com> wrote: > > I was meaning an equivalent to declaring an extern function using the same > name as the symbol we want. The function address will be the linked symbol > address. > > I indeed use the reflect package today, but this happen at run time while I > would like to get those values at link time. I'd like to create a lookup > table to function addresses.
You can create a lookup table at run time. What would change if you could do it at link time? Can you show us the code you want to write? 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/CAOyqgcUz--fpo3_LtqSAqC_JqBro2%2BwAzYzbP5jz9dDWbhDNuA%40mail.gmail.com.