We now 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 is no such thing as a good approach to do it. binary-only-package
help 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, appears ugly, doesn’t work on home windows and requires cgo for compilation. However, you possibly can attempt to share your supply code beneath the strict license.
That is actually an obstacle of this language .It is not uncommon in all language.
Dunno what you might be speaking about, when quite the opposite there’s solely an inventory of some languages which can be utilized this manner. Most a part of them don’t have this sort of performance and I see legitimate factors why golang determined to drop help of it.
1 Like
Perhaps test this out?
https://www.reddit.com/r/golang/feedback/sco4ul/dll_architecture_in_go/
This is generally unimaginable. Good folks can reverse engineer the whole lot. It’s only a matter of effort. Even in case you are technically in a position to present them a standalone binary.
Two choices come into my thoughts.
1. Microservice.
2. Obfuscation. I imply, why not?
1 Like
Thanks.
Microservice is one selection.in my utility I’ve lot of database transaction. I don’t know the way to handle transaction with microservices.
Tips on how to do obfuscation of golang code.
Please information if .
You may wish to take a look at GitHub – burrowers/garble: Obfuscate Go builds. I don’t have expertise of it myself, however I imagine that wails makes use of it.