mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-05-11 01:59:40 +08:00
13 lines
176 B
Go
13 lines
176 B
Go
//go:build sqlite_glebarez
|
|
|
|
package database
|
|
|
|
import (
|
|
"github.com/glebarez/sqlite"
|
|
"gorm.io/gorm"
|
|
)
|
|
|
|
func GetDialect(dsn string) gorm.Dialector {
|
|
return sqlite.Open(dsn)
|
|
}
|