generate

package
v0.0.0-...-6689b15 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Action

func Action(c *cli.Context) error

func Generate

func Generate(ctx context.Context, opts Options) error

Types

type Generator

type Generator interface {
	Generate(ctx context.Context) error
}

type Options

type Options struct {
	OutputPath string

	Tables          []string
	TableColumnsSet map[string][]db.TableColumn
	TableIndexesSet map[string][]db.TableIndex
}

Jump to

Keyboard shortcuts

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