ragit-gen

command
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Command ragit-gen regenerates ragit's migrations and models from the schema declaration in ragitschema.

It is the only thing that writes migrations/ and the *_gen.go files; both are checked in, so a consumer of the library needs neither this command nor sqlb's codegen to build.

go run ./cmd/ragit-gen

A deployment that needs an embedding width other than the default renders its own migration set with -dim and applies it with its own runner. See ragit.Migrate.

Jump to

Keyboard shortcuts

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