sqlite

package module
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package sqlite provides the pure-Go (cgo-free) SQLite driver for gormx.Module.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Driver

func Driver() gormx.Driver

Driver returns the built-in SQLite driver (pure-Go, no cgo). The database file path is taken from cfg.Name; use ":memory:" for an in-memory database:

app.WithModule(gormx.Module(sqlite.Driver()))
app.WithModule(gormx.Module(sqlite.Driver(), "bot"))

Types

This section is empty.

Jump to

Keyboard shortcuts

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