Open Policy Agent example
Following Download Opa
$ curl -L -o opa https://openpolicyagent.org/downloads/v0.33.0/opa_darwin_amd64
$ chmod 755 ./opa
$ opa test -v *.rego
In go 1.16 we can leverage embed component to embed rego file into go binary, save the I/O read time.