yvbolt/db_sqlite_cgo.go

13 lines
193 B
Go

//+build cgo
package main
import (
sqlite3 "github.com/mattn/go-sqlite3"
)
func (ld *sqliteLoadedDatabase) DriverName() string {
ver1, _, _ := sqlite3.Version()
return "SQLite " + ver1
}