diesel

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2025 License: Apache-2.0 Imports: 7 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 Diesel migration files

func NewGenerator

func NewGenerator() *Generator

NewGenerator creates a new Diesel 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 Diesel migration files

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