Hello,
The following Go program has a valid syntax:
https://play.golang.org/p/V7bIGnTu1fb
But I cannot find any way of assigning a value to the function pointer `f`
even using the `unsafe` package.
My main reason for willing this is to be able to:
- atomically load a dynamic address.
- avoid using instead `*interface{}` (that I can atomically load +
type-assert + call).
Thanks for your help,
Julio
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/175966b4-d900-4f7b-bfb4-c99fc4ed9f6b%40googlegroups.com.