add Stmt type alias
This commit is contained in:
parent
0cf0c37c00
commit
344da424a0
3
db.go
3
db.go
@ -12,6 +12,9 @@ import (
|
|||||||
"zombiezen.com/go/sqlite/sqlitex"
|
"zombiezen.com/go/sqlite/sqlitex"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Stmt is a type alias for sqlite.Stmt to avoid zombiezen being a direct dependency
|
||||||
|
type Stmt = sqlite.Stmt
|
||||||
|
|
||||||
var placeholderRegex = regexp.MustCompile(`%[sd]`)
|
var placeholderRegex = regexp.MustCompile(`%[sd]`)
|
||||||
|
|
||||||
type DB struct {
|
type DB struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user