sqlite

package
v0.2.65 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func New

func New(root string) *Service

func (*Service) Ensure

func (s *Service) Ensure(ctx context.Context) (string, error)

Ensure sets up a SQLite database under $ROOT/db/agently.db when missing and ensures the schema is installed. It returns the DSN file path.

func (*Service) WithPath added in v0.2.38

func (s *Service) WithPath(path string) *Service

WithPath overrides the sqlite file path.

Jump to

Keyboard shortcuts

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