mirror of
https://github.com/twofas/2fas-server.git
synced 2024-12-12 12:09:56 +01:00
12 lines
218 B
Go
12 lines
218 B
Go
package db
|
|
|
|
import (
|
|
"database/sql"
|
|
"github.com/doug-martin/goqu/v9"
|
|
_ "github.com/doug-martin/goqu/v9/dialect/mysql"
|
|
)
|
|
|
|
func NewQueryBuilder(database *sql.DB) *goqu.Database {
|
|
return goqu.New("mysql", database)
|
|
}
|