github.com/mattn/go-sqlite3 (go): 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 >= 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.
Keywords: go|sqlite|sqlite3-driver