It looks like an issue or bug that GoLang includes the runtime in plugins 
so that they cannot be shared. I did 

go install -buildmode=shared std

And then I try to compile my plugin as shared:

 go build -buildmode=plugin -linkshared /tmp/code_SUM.go# command-line-arguments
runtime.islibrary: missing Go type information for global symbol: size 1

My code

# cat /tmp/code_SUM.gopackage mainimport (
        "fmt")
func SUM(x int, y int) int { fmt.Println("")return x+y}

Is there any workaround?

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