mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-09-19 17:50:12 +00:00
feat(agentcompat): add SQLite hold scoped attribution
Co-authored-by: naiba/CloudCode <hi+cloudcode@nai.ba>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
//go:build !agentcompat || !linux
|
||||
|
||||
package singleton
|
||||
|
||||
import (
|
||||
"gorm.io/driver/sqlite"
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
func openSQLiteDialector(path string) gorm.Dialector {
|
||||
return sqlite.Open(path)
|
||||
}
|
||||
Reference in New Issue
Block a user