// Return SQLite library Version information. func Version() (libVersion string, libVersionNumber int, sourceId string) { libVersion = C.GoString(C.sqlite3_libversion()) libVersionNumber = int(C.sqlite3_libversion_number()) sourceId = C.GoString(C.sqlite3_sourceid()) return libVersion, libVersionNumber, sourceId }
// VersionNum returns the SQLite version as an integer in the format X*1000000 + // Y*1000 + Z, where X is the major version, Y is the minor version, and Z is // the release number. func VersionNum() int { if initErr != nil { return 0 } return int(C.sqlite3_libversion_number()) }
func sqlVersionNumber() int { return int(C.sqlite3_libversion_number()) }
// VersionNumber returns the run-time library version number as 300X00Y // (See http://sqlite.org/c3ref/libversion.html) func VersionNumber() int32 { return int32(C.sqlite3_libversion_number()) }