mirror of
https://github.com/samuelncui/yatm.git
synced 2026-08-30 20:57:08 +00:00
15 lines
399 B
Plaintext
15 lines
399 B
Plaintext
//go:build !((darwin && amd64) || (darwin && arm64) || (freebsd && amd64) || (linux && arm) || (linux && arm64) || (linux && 386) || (linux && amd64) || (linux && s390x) || (windows && amd64))
|
|
|
|
package resource
|
|
|
|
import (
|
|
"gorm.io/driver/sqlite"
|
|
"gorm.io/gorm"
|
|
)
|
|
|
|
type innerSQLiteMigrator = sqlite.Migrator
|
|
|
|
func openSQLite(dsn string) gorm.Dialector {
|
|
return &sqliteDialector{sqlite.Open(dsn)}
|
|
}
|