/go-oso-example

Example repo that uses Prisma (Go client) and Oso

Primary LanguageGoMIT LicenseMIT

Setting Up

Make sure you have a postgres database running, set via:

export DATABASE_URL=postgresql://postgres:postgres@localhost:5432/example

Run the following:

go mod download
go run github.com/prisma/prisma-client-go migrate dev --name init

To run the file:

go run main.go