gopkg.in/mattn/go-sqlite3.v2 (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. database/sql doesn't provide a way to get native go-sqlite3 interfaces. So if you want, you need to set ConnectHook and get the SQLiteConn.  If you want to register Go functions as SQLite extension functions, call RegisterFunction from ConnectHook.  See the documentation of RegisterFunc for more details.
Keywords: go|sqlite|sqlite3-driver