Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I'm referring to BOP discussed in https://github.com/golang/go/issues/28152. tl;dr is shipping packages as .a is dropped after version 1.12, and the only alternative is to use plugins, which doesn't work on Windows, and has a whole host of other limitations.
You'll never fully protect your code from someone who's dead-set on reverse-engineering it, however, you can use https://github.com/hashicorp/go-plugin or a similar RPC technique, which will let you ship binary plugins and will also be less fragile and janky compared to something made with `-buildmode=plugin`.