Platform

Four things you would otherwise build twice

Models that generate everything downstream

Write the Go struct. Grit derives the migration, the query layer, the validation schema and the TypeScript type from it — so a field you add in one place appears everywhere it should.

  • Migrations from struct tags
  • Zod schema generated
  • Typed client, no drift

type Invoice struct

Numberstring
Totalfloat64
Paidbool

invoice.ts