package main import "C" import ( "fmt" "log" ) //export Add func Add(a, b C.int) *C.char { return C.CString(fmt.Sprintf("Go plugin: %d", a+b)) } func main() { log.Println("Main of cgotest") }