name: github.com/flash-gopher/go-sqlcipher/v4
description: Package sqlite3 provides interface to SQLite3 databases.

This works as a driver for database/sql.

Installation

Currently, go-sqlite3 supports the following data types.

You can write your own extension module for sqlite3. For example, below is an
extension for a Regexp matcher operation.

It needs to be built as a so/dll shared library. And you need to register
the extension module like below.

Then, you can use this extension.

You can hook and inject your code when the connection is established by setting
ConnectHook to get the SQLiteConn.

You can also use database/sql.Conn.Raw (Go &gt;= 1.13):

If you want to register Go functions as SQLite extension functions
you can make a custom driver by calling RegisterFunction from
ConnectHook.

You can then use the custom driver by passing its name to sql.Open.

See the documentation of RegisterFunc for more details.
license_spdx: BSD-3-Clause or MIT or Unlicense or blessing
version: v4.5.0
spec_version: 1.0
home_url: https://github.com/flash-gopher/go-sqlcipher
news_url: https://libraries.io/go/github.com%2Fflash-gopher%2Fgo-sqlcipher%2Fv4/versions.atom
date: 2021-12-09
about_resource: NONE
libraries_io_url: https://libraries.io/go/github.com%2Fflash-gopher%2Fgo-sqlcipher%2Fv4?number=v4.5.0
vcs_tool: git
vcs_repository: https://github.com/flash-gopher/go-sqlcipher
vcs_branch: master
