mirror of
https://github.com/usememos/memos.git
synced 2024-12-19 09:02:49 +03:00
16 lines
184 B
Go
16 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}
|
|
}
|