Does it mean that I can't load the two different plugins ? 

I know that I can't load the same plugin twice, but I thought that I can 
load two different plugins.

To be precise I was thinking about the MapReduce implementation where the 
client might build the go program which can be loaded as plugin on the 
workers - similar approach is in Hadoop. My main assumption was that the 
same worker written in go cant load plugins for each MapReduce job. Is it 
possible with current plugin go feature ? 

  
W dniu niedziela, 6 listopada 2016 06:57:52 UTC+1 użytkownik Tamás Gulácsi 
napisał:
>
> AFAIK it's a design decision that a plugin cannot be loaded twice.
> Protect it with a sync.Once, if you can't avoid calling the loader twice.

-- 
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.

Reply via email to