Now we have golang code . This code is our enterprise login.
We wish to share with different firm . however we wish to share like dll or .so file not code .
It ought to work like sdk for them.
There isn’t a good option to do it. binary-only-package
assist was dropped after go1.12. There was an enormous dialogue right here. You possibly can attempt to use plugin however it has very restricted choices, seems to be ugly, doesn’t work on home windows and requires cgo for compilation. Then again, you possibly can attempt to share your supply code below the strict license.
That is actually a drawback of this language .It is not uncommon in all language.
Dunno what you’re speaking about, when quite the opposite there’s solely a listing of some languages which can be utilized this fashion. Most a part of them don’t have this type of performance and I see legitimate factors why golang determined to drop assist of it.
1 Like
Perhaps test this out?
https://www.reddit.com/r/golang/feedback/sco4ul/dll_architecture_in_go/