enterprise-contract / ec-cli

Enterprise Contract command line interface
https://enterprisecontract.dev/docs/ec-cli/main/index.html
Apache License 2.0
27 stars 28 forks source link

Place the builtin Rego functions in separate files #1362

Closed zregvart closed 6 months ago

zregvart commented 6 months ago

We're adding new the builtin functions in internal/evaluator/rego.go. It would be nicer if we could split those into different files, e.g. purl.go, oci.go...

lcarva commented 6 months ago

+1. I wonder if it should be in a separate pkg as well.