repository

package
v0.0.0-...-ffaaf6d Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2024 License: GPL-3.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 FeatureSQLite

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

func NewFeatureSQLite

func NewFeatureSQLite(db sqlc.DBTX) *FeatureSQLite

func (*FeatureSQLite) Delete

func (repo *FeatureSQLite) Delete(ctx context.Context, featureID string) error

func (*FeatureSQLite) GetAll

func (repo *FeatureSQLite) GetAll(ctx context.Context) ([]sqlc.Feature, error)

func (*FeatureSQLite) Upsert

func (repo *FeatureSQLite) Upsert(ctx context.Context, feature sqlc.Feature) error

type SQLiteMigrator

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

func NewSQLiteMigrator

func NewSQLiteMigrator(db *sql.DB) *SQLiteMigrator

func (*SQLiteMigrator) Migrate

func (mig *SQLiteMigrator) Migrate() error

Jump to

Keyboard shortcuts

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