Skip to content
go-libfossil Artifact [4c0a88cfc6]
Login

Artifact [4c0a88cfc6]

Artifact 4c0a88cfc6e70844a75ac7750562684cc3c56ba054a75ac1cc2facf8bf0e1e75:



title: db/driver/modernc

weight: 10

db/driver/modernc

Pure-Go SQLite driver, the libfossil default.

import _ "github.com/danmestas/libfossil/db/driver/modernc"

Importing this package registers a modernc.org/sqlite driver (driver name "sqlite") with libfossil's db registry. The package exports no public API of its own — register-on-import is the contract.

Use this driver when you want a static, CGo-free build with no native dependencies.

See db for the registry interface.