7a3e2f9 ^
1 2 3 4 5 6 7 8 9 10 11 12 13
package sqlite3 import ( "database/sql" "sync" ) // DB holds the database connection, mutex & path. type DB struct { Path string Mu *sync.RWMutex Conn *sql.DB }