examples/

directory
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2026 License: BSD-3-Clause

Directories

Path Synopsis
fts-search example: typed FTS5 API with Porter stemming, BM25 ranking, and snippet/highlight extraction.
fts-search example: typed FTS5 API with Porter stemming, BM25 ranking, and snippet/highlight extraction.
gorm example: shows the minimal change to migrate from github.com/Tryanks/gorm-sqlite (or glebarez/sqlite) to github.com/go-again/sqlite/gorm.
gorm example: shows the minimal change to migrate from github.com/Tryanks/gorm-sqlite (or glebarez/sqlite) to github.com/go-again/sqlite/gorm.
gorm-fts example: side-by-side pattern for combining gorm-managed schema with FTS5 full-text search.
gorm-fts example: side-by-side pattern for combining gorm-managed schema with FTS5 full-text search.
gorm-vec example: side-by-side pattern for combining gorm-managed schema with sqlite-vec virtual tables.
gorm-vec example: side-by-side pattern for combining gorm-managed schema with sqlite-vec virtual tables.
gorm-vfs example: open a gorm.DB against a SQLite database that lives entirely inside an embed.FS-style read-only filesystem.
gorm-vfs example: open a gorm.DB against a SQLite database that lives entirely inside an embed.FS-style read-only filesystem.
Mattn-compat example: shows that swapping the blank import from "github.com/mattn/go-sqlite3" to "github.com/go-again/sqlite" needs no other code changes.
Mattn-compat example: shows that swapping the blank import from "github.com/mattn/go-sqlite3" to "github.com/go-again/sqlite" needs no other code changes.
modernc-compat example: shows that swapping the blank import from "modernc.org/sqlite" to "github.com/go-again/sqlite" needs no other code changes.
modernc-compat example: shows that swapping the blank import from "modernc.org/sqlite" to "github.com/go-again/sqlite" needs no other code changes.
vec-search example: typed sqlite-vec API.
vec-search example: typed sqlite-vec API.
vfs-embed example: bundle a SQLite database inside an embed.FS and open it read-only via the vfs sub-package.
vfs-embed example: bundle a SQLite database inside an embed.FS and open it read-only via the vfs sub-package.

Jump to

Keyboard shortcuts

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