Development¶
GuardSQL should stay small and dependency-light.
Repository Layout¶
.
├── ast.go
├── lexer.go
├── parser.go
├── schema.go
├── validate.go
├── policy.go
├── lint.go
├── eval.go
├── authz/
└── authzsystemforge/
Module Boundaries¶
- Root module:
github.com/grokify/guardsql - Optional SystemForge module:
github.com/grokify/guardsql/authzsystemforge
Do not add SystemForge, SpiceDB, Cedar, Rego, SQL drivers, Ent, or storage dependencies to the root module.
Testing¶
Run root tests:
Run browser package tests:
Run optional SystemForge adapter tests separately:
Documentation¶
Build the docs locally:
The generated site/ directory should not be committed.