generations

package
v1.46.7 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Air

func Air(options AirOptions) (err error)

func AirConfig

func AirConfig(options AirConfigOptions) (err error)

func Bun

func Bun(options BunOptions) (err error)

func Copy

func Copy(options CopyOptions) (err error)

func Core

func Core(options CoreOptions) (err error)

func FixImports

func FixImports(options FixImportsOptions) (err error)

func Icons

func Icons(options IconsOptions) (err error)

func Migration

func Migration(options MigrationOptions) (err error)

func Project

func Project(options ProjectOptions) (err error)

func Queries

func Queries(options QueriesOptions) (err error)

func Schema

func Schema(options SchemaOptions) (err error)

func Snapshot

func Snapshot(options SnapshotOptions) (err error)

func Sqlc

func Sqlc(options SqlcOptions) (err error)

func Types added in v1.46.6

func Types(options TypesOptions) (err error)

Types

type AirConfigOptions

type AirConfigOptions struct {
	Efs embed.FS
}

type AirOptions

type AirOptions struct {
	Air string
}

type BunOptions

type BunOptions struct {
	Bun string
}

type CopyOptions

type CopyOptions struct {
	Strict bool
	Ignore []string
	From   string
	To     string
	Efs    embed.FS
}

type CoreOptions

type CoreOptions struct {
	Strict bool
	Efs    embed.FS
}

type FixImportsOptions

type FixImportsOptions struct {
	Directory string
}

type IconsOptions

type IconsOptions struct {
	Strict bool
	Bun    string
	Efs    embed.FS
}

type MigrationOptions

type MigrationOptions struct {
	Strict   bool
	Sqlc     string
	SqlcYaml string
}

type ProjectOptions

type ProjectOptions struct {
	Interactive bool
	Name        string
	Efs         embed.FS
}

type QueriesOptions

type QueriesOptions struct {
	Strict   bool
	Sqlc     string
	SqlcYaml string
}

type SchemaOptions

type SchemaOptions struct {
	Sqlc     string
	SqlcYaml string
	Database *sql.DB
}

type SnapshotOptions

type SnapshotOptions struct {
	StaticsUrl string
	Strict     bool
}

type SqlcOptions

type SqlcOptions struct {
	Sqlc string
}

type TypesOptions added in v1.46.6

type TypesOptions struct {
	Go   string
	Tags string
}

Jump to

Keyboard shortcuts

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