Over the last couple of years I’ve written tons of little Go services that required part of their logic to be dynamically configurable. For more complex scenarios it might be time for an embedded scripting language like Lua. Especially when it comes to situations where some kind of document needs to be dynamically generated or a decision to be made based on user-defined input, there is an easier way: OpenPolicyAgent’s Rego language and library. (Disclaimer: Parts of the code examples were gen...
No comments yet. Log in to discuss on the Fediverse