db

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: MIT Imports: 20 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAddCommand

func NewAddCommand(updateSqlc *Add) *cli.Command

func NewDbCommand

func NewDbCommand(
	updateSqlc *UpdateSQLCConfig,
	add *Add,
	migrate *Migrate,
	rollback *Rollback,
	generate *Generate,
) *cli.Command

func NewGenerateCommand

func NewGenerateCommand(updateSqlc *Generate) *cli.Command

func NewMigrateCommand

func NewMigrateCommand(updateSqlc *Migrate) *cli.Command

func NewRollbackCommand

func NewRollbackCommand(updateSqlc *Rollback) *cli.Command

func NewUpdateSQLCConfigCommand

func NewUpdateSQLCConfigCommand(updateSqlc *UpdateSQLCConfig) *cli.Command

Types

type Add

type Add struct {
	// contains filtered or unexported fields
}

func NewAdd

func NewAdd(
	action *action.UpdateSqlcConfig,
) *Add

func (*Add) Invoke

func (c *Add) Invoke(ctx *cli.Context) error

type Generate

type Generate struct {
	// contains filtered or unexported fields
}

func NewGenerate

func NewGenerate(action *action.UpdateSqlcConfig) *Generate

func (*Generate) Invoke

func (c *Generate) Invoke(ctx *cli.Context) error

type Migrate

type Migrate struct {
	// contains filtered or unexported fields
}

func NewMigrate

func NewMigrate(
	action *action.UpdateSqlcConfig,
) *Migrate

func (*Migrate) Invoke

func (c *Migrate) Invoke(ctx *cli.Context) error

type Rollback

type Rollback struct {
	// contains filtered or unexported fields
}

func NewRollback

func NewRollback(
	action *action.UpdateSqlcConfig,
) *Rollback

func (*Rollback) Invoke

func (c *Rollback) Invoke(ctx *cli.Context) error

type UpdateSQLCConfig

type UpdateSQLCConfig struct {
	// contains filtered or unexported fields
}

func NewUpdateSQLCConfig

func NewUpdateSQLCConfig(action *action.UpdateSqlcConfig) *UpdateSQLCConfig

func (*UpdateSQLCConfig) Invoke

func (c *UpdateSQLCConfig) Invoke(ctx *cli.Context) error

Jump to

Keyboard shortcuts

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