Documentation ¶
Overview ¶
Package sqlite_cgo provides SQLite database connection and migration utilities using the mattn/go-sqlite3 driver.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
func NewConnection ¶
func NewConnection(cfg Config) (*Connection, error)
func (*Connection) Close ¶
func (c *Connection) Close() error
func (*Connection) ReadDB ¶
func (c *Connection) ReadDB() *sqlx.DB
func (*Connection) WriteDB ¶
func (c *Connection) WriteDB() *sqlx.DB
Click to show internal directories.
Click to hide internal directories.