Use as a Go module
Enterprise OPA is available as a Go module and can be integrated as a library. To obtain the source for the Go module please contact us.
Install
Extract the Enterprise OPA tarball into your source directory.
mkdir -p eopa
tar xzvf /path/to/eopa.tar.gz –strip-component=1 -C eopa
Then add the following lines to your application's go.mod
file:
require github.com/styrainc/enterprise-opa-private <VERSION>
replace github.com/styrainc/enterprise-opa-private => ./eopa