Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
protoc-gen-orm
command
Command protoc-gen-orm is a protoc plugin that reads proto descriptors annotated with google.api.* and orm.v1.* options, then generates database schema artifacts for the requested backend: gorm, sql, or prisma.
|
Command protoc-gen-orm is a protoc plugin that reads proto descriptors annotated with google.api.* and orm.v1.* options, then generates database schema artifacts for the requested backend: gorm, sql, or prisma. |
|
Package generator composes the database backends protoc-gen-orm ships — gorm, sql, and prisma — into a target registry for the protokit run harness.
|
Package generator composes the database backends protoc-gen-orm ships — gorm, sql, and prisma — into a target registry for the protokit run harness. |
|
backend
Package backend is orm's schema.Backend: the bridge between protokit's generic IR builder and orm's own annotation package.
|
Package backend is orm's schema.Backend: the bridge between protokit's generic IR builder and orm's own annotation package. |
|
gorm
Package gorm generates production-ready Go structs with GORM struct tags.
|
Package gorm generates production-ready Go structs with GORM struct tags. |
|
prisma
Package prisma generates a multi-file Prisma schema tree from the orm IR, replicating the hand-written layout this repository uses:
|
Package prisma generates a multi-file Prisma schema tree from the orm IR, replicating the hand-written layout this repository uses: |
|
sql
Package sql generates PostgreSQL DDL from the orm IR.
|
Package sql generates PostgreSQL DDL from the orm IR. |
|
types
Package types is orm's projection of the neutral schema.FieldType onto the canonical PostgreSQL type the gorm/sql/prisma targets render from.
|
Package types is orm's projection of the neutral schema.FieldType onto the canonical PostgreSQL type the gorm/sql/prisma targets render from. |
|
pb
|
|
Click to show internal directories.
Click to hide internal directories.