plugin/

directory
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2026 License: Apache-2.0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL