Versions in this module Expand all Collapse all v3 v3.0.1 Jun 12, 2026 Changes in this version + type Database struct + func NewDatabase(dbPath string, logger *log.Logger) (*Database, error) + func (d *Database) BeginTransaction() (*sql.Tx, error) + func (d *Database) Close() error + func (d *Database) ExecuteInTransaction(fn func(*sql.Tx) error) error + func (d *Database) GetDB() *sql.DB + func (d *Database) GetStats() (map[string]interface{}, error) + func (d *Database) HealthCheck() error Other modules containing this package github.com/rainmana/tinybrain