prisma

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct{}

Generator generates Prisma schema files.

func NewGenerator

func NewGenerator() *Generator

NewGenerator creates a new Prisma generator.

func (*Generator) Description

func (g *Generator) Description() string

Description returns the generator description.

func (*Generator) Generate

func (g *Generator) Generate(schema *definition.Schema, opts generator.Options) error

Generate generates Prisma schema file.

func (*Generator) Name

func (g *Generator) Name() string

Name returns the generator name.

Jump to

Keyboard shortcuts

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