Skip to content
go-libfossil Artifact [2d282404d4]
Login

Artifact [2d282404d4]

Artifact 2d282404d4e27070bc2d22acbab8a0507dc8c44184e2bb3d5010b2fade4af3d7:



title: db/driver/modernc

weight: 10

Pure-Go SQLite driver, the libfossil default.

import _ "github.com/danmestas/go-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.