iodb

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SchemaSQL string

Functions

func EnsureDb

func EnsureDb(homeDir string) error

func New

func New(cfg *config.Config) pomati.Db

New creates a new iodb instance with the provided configuration. The database file path is derived from cfg.HomeDir.

func NewWithDB added in v0.3.2

func NewWithDB(cfg *config.Config, db *sql.DB) pomati.Db

NewWithDB creates iodb with existing database connection (for testing)

Types

This section is empty.

Jump to

Keyboard shortcuts

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