sqlite

package
v1.21.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDSNRequired = errors.New("dsn required")
	ErrDBRequired  = errors.New("db required")
)

Functions

This section is empty.

Types

type Repository

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

func NewRepository

func NewRepository(mode string) (Repository, error)

func (Repository) Close

func (r Repository) Close() error

func (Repository) Projects

func (r Repository) Projects(ctx context.Context, topic string) ([]*josegpt.Project, error)

func (Repository) UpsertProjects

func (r Repository) UpsertProjects(ctx context.Context, pp []*josegpt.ProjectUpsert) error

Jump to

Keyboard shortcuts

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