memos/store/sqlite/driver.go
2023-09-26 19:07:14 +08:00

15 lines
184 B
Go

package sqlite
import (
"database/sql"
"github.com/usememos/memos/store"
)
type Driver struct {
db *sql.DB
}
func NewDriver(db *sql.DB) store.Driver {
return &Driver{db: db}
}