summary refs log tree commit diff stats
path: root/storage/sqlite3/db.go
blob: e949bba17a2beb1f5551bd5a14a66366c550bc01 (plain) (blame)
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
}