I have a function in go that I want to provide it to others(in other Go programs on unix servers). However, I don't want them to know the implementation so I can not just give them the source code. I've check out the c-shared buildmode but it seems troublesome because of all the conversions between C types and Go. I wonder if there are simpler ways like
lib := load(somelib)
res := lib.somefunc(args)